Mono Class Library: Overview

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. A System.Runtime.InteropServices.UnmanagedType enumeration value that specifies the type of elements in an array.
IidParameterIndexint. Documentation for this section has not yet been entered.
MarshalCookiestring. A string that is used with UnmanagedType.CustomMarshaler to hold a cookie that is passed to the custom marshaler. The value of the cookie is defined by the custom marshaler implementation.
MarshalTypestring. A string that identifies the Type of a custom marshaler.
MarshalTypeRefType. Specifies the managed Type of the argument being marshaled.
SafeArraySubTypeVarEnum. Documentation for this section has not yet been entered.
SafeArrayUserDefinedSubTypeType. Documentation for this section has not yet been entered.
SizeConstint. A int that specifies the size, in bytes, of the constant size array being marshaled.
SizeParamIndexshort. A short that identifies the position (starting with zero) of the method argument that identifies the size of the array being marshaled.