Private Sub QueryAppIsDefault(<[In], MarshalAs(UnmanagedType.LPWStr)>
pszQuery As String, <[In]> atQueryType As ASSOCIATIONTYPE, <[In]>
alQueryLevel As ASSOCIATIONLEVEL, <[In],
MarshalAs(UnmanagedType.LPWStr)> pszAppRegistryName As String, <Out>
pfDefault As Boolean)
End Sub

this should get your started. There is a site which will do such stuff
for you . One of them is this

http://www.developerfusion.com/tools/convert/csharp-to-vb/

-S

On Sep 1, 12:16 pm, Mike Fry <[email protected]> wrote:
>   Can someone help me with the translation of the following C# definition.
>
>          void QueryAppIsDefault(
>              [In, MarshalAs(UnmanagedType.LPWStr)] string pszQuery,
>              [In] ASSOCIATIONTYPE atQueryType,
>              [In] ASSOCIATIONLEVEL alQueryLevel,
>              [In, MarshalAs(UnmanagedType.LPWStr)] string
> pszAppRegistryName,
>              [Out] out bool pfDefault);
>
> I'd like to see what it looks like in VB.NET
>
> --
> Regards,
> Mike Fry
> Johannesburg

Reply via email to