Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MarshalAsAttribute Fields

MarshalAsAttribute Fields

The MarshalAsAttribute type exposes the following members.

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

Community Additions

ADD
Show:
© 2015 Microsoft