MarshalAsAttribute Fields
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
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.
Fields
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. |
Top