Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

MarshalAsAttribute Fields

The MarshalAsAttribute type exposes the following members.

  NameDescription
Public field Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework MarshalCookie Provides additional information to a custom marshaler.
Public field Supported by the .NET Compact Framework MarshalType Specifies the fully qualified name of a custom marshaler.
Public field Supported by the .NET Compact Framework MarshalTypeRef Implements MarshalAsAttribute.MarshalType as a type.
Public field Supported by the .NET Compact Framework SafeArraySubType Indicates the element type of the UnmanagedType.SafeArray.
Public field Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework SizeParamIndex Indicates which parameter contains the count of array elements, much like size_is in COM, and is zero-based.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.