This topic has not yet been rated - Rate this topic

UnmanagedMarshal Members

Represents the class that describes how to marshal a field from managed to unmanaged code. This class cannot be inherited.

The following tables list the members exposed by the UnmanagedMarshal type.

  Name Description
Public property BaseType Gets an unmanaged base type. This property is read-only.
Public property ElementCount Gets a number element. This property is read-only.
Public property GetUnmanagedType Indicates an unmanaged type. This property is read-only.
Public property IIDGuid Gets a GUID. This property is read-only.
Top
  Name Description
Public method Static DefineByValArray Specifies a fixed-length array (ByValArray) to marshal to unmanaged code.
Public method Static DefineByValTStr Specifies a string in a fixed array buffer (ByValTStr) to marshal to unmanaged code.
Public method Static DefineLPArray Specifies an LPArray to marshal to unmanaged code. The length of an LPArray is determined at runtime by the size of the actual marshaled array.
Public method Static DefineSafeArray Specifies a SafeArray to marshal to unmanaged code.
Public method Static DefineUnmanagedMarshal Specifies a given type that is to be marshaled to unmanaged code.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.