Export (0) Print
Expand All

MarshalAsAttribute Fields

The fields of the MarshalAsAttribute class are listed here. For a complete list of MarshalAsAttribute class members, see the MarshalAsAttribute Members topic.

Public Fields

public fieldArraySubType Specifies the element type of the unmanaged UnmanagedType.LPArray or UnmanagedType.ByValArray.
public fieldMarshalCookie Provides additional information to a custom marshaler.
public fieldMarshalType Specifies the fully qualified name of a custom marshaler.
public fieldMarshalTypeRef Implements MarshalAsAttribute.MarshalType as a type.
public fieldSafeArraySubType Indicates the element type of the UnmanagedType.SafeArray.
public fieldSafeArrayUserDefinedSubType Indicates the user-defined element type of the UnmanagedType.SafeArray.
public fieldSizeConst Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import.
public fieldSizeParamIndex Indicates which parameter contains the count of array elements, much like size_is in COM, and is zero-based.

See Also

MarshalAsAttribute Class | System.Runtime.InteropServices Namespace

Show:
© 2014 Microsoft