SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Method ToDelegate

    ToDelegate()

    Converts the current function pointer to a delegate of type TDelegate.

    Declaration
    public TDelegate? ToDelegate()
    Returns
    Type Description
    TDelegate

    A delegate of type TDelegate representing the target function.

    Implements
    ITypedFunctionPointer<TDelegate>.ToDelegate()
    Remarks

    The current instance must not be a null pointer. If it is, an InvalidOperationException will be thrown.

    Exceptions
    Type Condition
    InvalidOperationException

    The current function pointer is a null pointer

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.