Custom marshaller for Id instances. This makes interop a breeze as it cuts a lot of code.

C# | Visual Basic | Visual C++ |
public class IdMarshaler<TInstance> : ICustomMarshaler where TInstance : Id
Public Class IdMarshaler(Of TInstance As Id) _ Implements ICustomMarshaler
generic<typename TInstance> where TInstance : Id public ref class IdMarshaler : ICustomMarshaler

- TInstance
[Missing <typeparam name="TInstance"/> documentation for "T:Monobjc.IdMarshaler`1"]

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | IdMarshaler<(Of <(<'TInstance>)>)>()()()() | Initializes a new instance of the IdMarshaler<(Of <(<'TInstance>)>)> class |
![]() | CleanUpManagedData(Object) |
Performs necessary cleanup of the managed data when it is no longer needed.
|
![]() | CleanUpNativeData(IntPtr) |
Performs necessary cleanup of the unmanaged data when it is no longer needed.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() ![]() | GetInstance(String) |
Returns a shared instance of the custom marshaller.
|
![]() | GetNativeDataSize()()()() |
Returns the size of the native data to be marshaled.
|
![]() | GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MarshalManagedToNative(Object) |
Converts the managed data to unmanaged data.
|
![]() | MarshalNativeToManaged(IntPtr) |
Converts the unmanaged data to managed data.
|
![]() | MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | ToString()()()() | (Inherited from Object.) |

Object | |
![]() | IdMarshaler<(Of <(<'TInstance>)>)> |

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)