Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.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 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