System.Runtime.InteropServices.MarshalAsAttribute: Field Members

The fields of System.Runtime.InteropServices.MarshalAsAttribute are listed below. For a list of all members, see the MarshalAsAttribute Members list.

See Also: Inherited members from System.Attribute

Public Fields

ArraySubTypeUnmanagedType.

Specifies the element type of the unmanaged UnmanagedType.LPArray or UnmanagedType.ByValArray.

IidParameterIndexint.

Specifies the parameter index of the unmanaged iid_is attribute used by COM.

MarshalCookiestring.

Provides additional information to a custom marshaler.

MarshalTypestring.

Specifies the fully qualified name of a custom marshaler.

MarshalTypeRefType.

Implements MarshalAsAttribute.MarshalType as a type.

SafeArraySubTypeVarEnum.

Indicates the element type of the UnmanagedType.SafeArray.

SafeArrayUserDefinedSubTypeType.

Indicates the user-defined element type of the UnmanagedType.SafeArray.

SizeConstint.

Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import.

SizeParamIndexshort.

Indicates the zero-based parameter that contains the count of array elements, similar to size_is in COM.