I am trying to convert a C# file to VB.NET - need help

  • Thread starter Thread starter Learner
  • Start date Start date
L

Learner

Hello,
Here is the code snippet I got strucked at.
I am unable to convert the below line of code to its equavalent vb.net
code. could some one please help me with this?

[DataObjectMethod(DataObjectMethodType.Select, true)]
static public List<RoleData> GetRoles()
{
return GetRoles(null, false);
}


Thanks
-L
 
Learner said:
Hello,
Here is the code snippet I got strucked at.
I am unable to convert the below line of code to its equavalent vb.net
code. could some one please help me with this?

[DataObjectMethod(DataObjectMethodType.Select, true)]
static public List<RoleData> GetRoles()
{
return GetRoles(null, false);
}


Thanks
-L

<DataObjectMethod (DataObjectMethodType.Select, True)> _
Public Shared Function GetRoles () As List (Of RoleData)
Return GetRoles (Nothing, False)
End Function

HTH
 
Back
Top