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.
Specifies the element type of the unmanaged UnmanagedType.LPArray or UnmanagedType.ByValArray. | |
IidParameterIndex | int.
Specifies the parameter index of the unmanaged iid_is attribute used by COM. | |
MarshalCookie | string.
Provides additional information to a custom marshaler. | |
MarshalType | string.
Specifies the fully qualified name of a custom marshaler. | |
MarshalTypeRef | Type.
Implements MarshalAsAttribute.MarshalType as a type. | |
SafeArraySubType | VarEnum.
Indicates the element type of the UnmanagedType.SafeArray. | |
SafeArrayUserDefinedSubType | Type.
Indicates the user-defined element type of the UnmanagedType.SafeArray. | |
SizeConst | int.
Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import. | |
SizeParamIndex | short.
Indicates the zero-based parameter that contains the count of array elements, similar to size_is in COM. |