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
Public fieldSupported by Silverlight for Windows PhoneSupported by Xbox 360 ArraySubType Specifies the element type of the unmanaged UnmanagedType.LPArray or UnmanagedType.ByValArray.
Public fieldSupported by Silverlight for Windows PhoneSupported by Xbox 360 MarshalCookie Provides additional information to a custom marshaler.
Public fieldSupported by Silverlight for Windows PhoneSupported by Xbox 360 MarshalType Specifies the fully qualified name of a custom marshaler.
Public fieldSupported by Silverlight for Windows PhoneSupported by Xbox 360 MarshalTypeRef Implements MarshalAsAttribute.MarshalType as a type.
Public fieldSupported by Silverlight for Windows PhoneSupported by Xbox 360 SizeConst Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import.
Public fieldSupported by Silverlight for Windows PhoneSupported by Xbox 360 SizeParamIndex Indicates which parameter contains the count of array elements, much like size_is in COM, and is zero-based.

Top