Метод | Описание | |
---|---|---|
CleanUpManagedData ( Object ManagedObj ) : void |
Performs necessary cleanup of the managed data when it is no longer needed.
|
|
CleanUpNativeData ( |
Performs necessary cleanup of the unmanaged data when it is no longer needed.
|
|
GetNativeDataSize ( ) : int |
Returns the size of the native data to be marshaled.
|
|
MarshalManagedToNative ( Object ManagedObj ) : |
Converts the managed data to unmanaged data.
|
|
MarshalNativeToManaged ( |
Converts the unmanaged data to managed data.
|
Метод | Описание | |
---|---|---|
GetInstance ( String cookie ) : ICustomMarshaler |
public CleanUpManagedData ( Object ManagedObj ) : void | ||
ManagedObj | Object | The managed object to be destroyed. |
Результат | void |
public CleanUpNativeData ( |
||
pNativeData | A pointer to the unmanaged data to be destroyed. | |
Результат | void |
public MarshalManagedToNative ( Object ManagedObj ) : |
||
ManagedObj | Object | The managed object to be converted. |
Результат |
public MarshalNativeToManaged ( |
||
pNativeData | A pointer to the unmanaged data to be wrapped. | |
Результат | Object |