This documentation is archived and is not being maintained.

UnmanagedMarshal Members

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

The UnmanagedMarshal type exposes the following members.

  NameDescription
Public method Static member DefineByValArray Specifies a fixed-length array (ByValArray) to marshal to unmanaged code.
Public method Static member DefineByValTStr Specifies a string in a fixed array buffer (ByValTStr) to marshal to unmanaged code.
Public method Static member 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 member DefineSafeArray Specifies a SafeArray to marshal to unmanaged code.
Public method Static member DefineUnmanagedMarshal Specifies a given type that is to be marshaled to unmanaged code.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
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
Show: