UnmanagedMarshal Members
.NET Framework 2.0
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 | |
|---|---|---|
| BaseType | Gets an unmanaged base type. This property is read-only. |
| ElementCount | Gets a number element. This property is read-only. |
| GetUnmanagedType | Indicates an unmanaged type. This property is read-only. |
| IIDGuid | Gets a GUID. This property is read-only. |
| Name | Description | |
|---|---|---|
| DefineByValArray | Specifies a fixed-length array (ByValArray) to marshal to unmanaged code. |
| DefineByValTStr | Specifies a string in a fixed array buffer (ByValTStr) to marshal to unmanaged code. |
| 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. |
| DefineSafeArray | Specifies a SafeArray to marshal to unmanaged code. |
| DefineUnmanagedMarshal | Specifies a given type that is to be marshaled to unmanaged code. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| 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.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |