VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI.WinForms Namespace / WinFormsSynchronizationProvider Class / Invoke(Delegate,Object[]) Method
Syntax Requirements SeeAlso
In This Topic
    Invoke(Delegate,Object[]) Method (WinFormsSynchronizationProvider)
    In This Topic
    Executes a delegate on the thread that owns the control's underlying window handle.
    Syntax
    'Declaration
    
    Public Overrides Function Invoke( _
    ByVal method
    The method.
    As System.Delegate, _
    ByVal ParamArray args
    The arguments.
    () As System.Object _
    ) As System.Object
    public override System.Object Invoke(
    System.Delegate method,
    params System.Object[] args
    )
    public: System.Object Invoke(
    System.Delegate* method,
    params System.Object[]* args
    ); override
    public:
    System.Object Invoke(
    System.Delegate^ method,
    ... array<System.Object>^ args
    ); override

    Parameters

    method
    The method.
    args
    The arguments.

    Return Value

    An System.Object that contains the return value from the delegate being invoked, or null if the delegate has no return value.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also