The members of System.Runtime.InteropServices.MarshalAsAttribute are listed below.
See Also: Inherited members from System.Attribute
Initializes a new instance of the System.Runtime.InteropServices.MarshalAsAttribute class with the specified System.Runtime.InteropServices.UnmanagedType value. | ||
Initializes a new instance of the System.Runtime.InteropServices.MarshalAsAttribute class with the specified System.Runtime.InteropServices.UnmanagedType enumeration member. |
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. |
[read-only] | Value | UnmanagedType.
Gets the System.Runtime.InteropServices.UnmanagedType value the data is to be marshaled as. |