[In,Out] equivalent

  • Thread starter Thread starter Mobileboy36
  • Start date Start date
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 ????
 
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 ????


--
 
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 ????
 
Back
Top