Home All Groups Group Topic Archive Search About

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

Author
28 Apr 2006 1:34 AM
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

Author
28 Apr 2006 4:27 AM
David Anton
Our Instant VB C# to VB converter produces:

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

--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter & VB to C++ converter
Instant J#: VB to J# converter



Show quoteHide quote
"Learner" wrote:

> 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
>
>

Bookmark and Share