26.02.2015 Views

C#.Net Migration - A2Z Dotnet

C#.Net Migration - A2Z Dotnet

C#.Net Migration - A2Z Dotnet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MarshalAsAttribute parameters<br />

• Controlling type transitions out of the runtime<br />

• Done via MarshalAsAttribute<br />

Parameter Name<br />

Value<br />

ArraySubType<br />

SafeArraySubType<br />

SizeConst<br />

SizeParamIndex<br />

MarshalType<br />

MarshalCookie<br />

Type<br />

UnmanagedType<br />

UnmanagedType<br />

VarType<br />

int<br />

short<br />

String<br />

String<br />

Description<br />

Unmanaged type to marshal to (mandatory)<br />

Unmanaged type of array elements<br />

Unmanaged VARTYPE of safearray elements<br />

Fixed size of unmanaged array<br />

Index of parameter containing [size_is] value<br />

Fully-qualified type name of custom marshaler<br />

Cookie for custom marshaler<br />

85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!