MarshalAsAttribute Fields
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The MarshalAsAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
ArraySubType | Specifies the element type of the unmanaged UnmanagedType.LPArray or UnmanagedType.ByValArray. |
|
MarshalCookie | Provides additional information to a custom marshaler. |
|
MarshalType | Specifies the fully qualified name of a custom marshaler. |
|
MarshalTypeRef | Implements MarshalAsAttribute.MarshalType as a type. |
|
SizeConst | Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import. |
|
SizeParamIndex | Indicates which parameter contains the count of array elements, much like size_is in COM, and is zero-based. |
Show: