ComponentOne Bitmap for UWP
ToCallbackPtr<TCallback> Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > CppObject Class : ToCallbackPtr<TCallback> Method
The type of the callback.
The callback.
Return the unmanaged C++ pointer from a ICallbackable instance.
Syntax
'Declaration
 
Public Shared Function ToCallbackPtr(Of TCallback As ICallbackable)( _
   ByVal callback As ICallbackable _
) As System.IntPtr
public static System.IntPtr ToCallbackPtr<TCallback>( 
   ICallbackable callback
)
where TCallback: ICallbackable

Parameters

callback
The callback.

Type Parameters

TCallback
The type of the callback.

Return Value

A pointer to the unmanaged C++ object of the callback
See Also

Reference

CppObject Class
CppObject Members