ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / CppObject Class / ToCallbackPtr<TCallback> Method
The type of the callback.
The callback.

In This Topic
    ToCallbackPtr<TCallback> Method
    In This Topic
    Return the unmanaged C++ pointer from a ICallbackable instance.
    Syntax
    'Declaration
     
    Public Shared Function ToCallbackPtr(Of TCallback As ICallbackable)( _
       ByVal callback As ICallbackable _
    ) As IntPtr
    public static 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