[In,Out] equivalent

M

Mobileboy36

hi group,

What is the best VB.NET equivalent for the C# [In,Out]?
Should it be translated as "Byref"?


[DllImport("aipcdll.dll")]
public static extern int AGPS5_AddRouteByFilename(int dwCookie, [In,Out]
char[] pFilename);

--> public shared function AGPS5_AddRouteByFilename(dwCookie as integer,
Byref char() pFilename) as integer ????
 
N

Neil Cowburn

Yes, it's ByRef

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/

hi group,

What is the best VB.NET equivalent for the C# [In,Out]?
Should it be translated as "Byref"?


[DllImport("aipcdll.dll")]
public static extern int AGPS5_AddRouteByFilename(int dwCookie,
[In,Out] char[] pFilename);

--> public shared function AGPS5_AddRouteByFilename(dwCookie as
integer, Byref char() pFilename) as integer ????


--
 
M

Mobileboy36

thank you Neil
Neil Cowburn said:
Yes, it's ByRef

--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.

Managed Code in the Embedded World

http://www.opennetcf.com/
http://www.smartdeviceframework.com/

hi group,

What is the best VB.NET equivalent for the C# [In,Out]?
Should it be translated as "Byref"?


[DllImport("aipcdll.dll")]
public static extern int AGPS5_AddRouteByFilename(int dwCookie,
[In,Out] char[] pFilename);

--> public shared function AGPS5_AddRouteByFilename(dwCookie as
integer, Byref char() pFilename) as integer ????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top