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
ArraySubType UnmanagedType. A System.Runtime.InteropServices.UnmanagedType enumeration value that specifies the type of elements in an array. IidParameterIndex int. Documentation for this section has not yet been entered. MarshalCookie string. 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. MarshalType string. A string that identifies the Type of a custom marshaler. MarshalTypeRef Type. Specifies the managed Type of the argument being marshaled. SafeArraySubType VarEnum. Documentation for this section has not yet been entered. SafeArrayUserDefinedSubType Type. Documentation for this section has not yet been entered. SizeConst int. A int that specifies the size, in bytes, of the constant size array being marshaled. SizeParamIndex short. A short that identifies the position (starting with zero) of the method argument that identifies the size of the array being marshaled.