VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UIActions Namespace / UIAction Class / GetFirstUIAction<T>(ISupportUIActions) Method
Syntax Requirements SeeAlso
In This Topic
    GetFirstUIAction<T>(ISupportUIActions) Method (UIAction)
    In This Topic
    Returns the first UI action from specified action source.
    Syntax
    'Declaration
    
    Public Shared Function GetFirstUIAction<T
    The action type.
    >( _
    ByVal actionSource
    The action source.
    As ISupportUIActions _
    ) As T (Of T
    The action type.
    As UIAction)
    public static T GetFirstUIAction<T>(
    ISupportUIActions actionSource
    ) where T: UIAction
    public: static T* GetFirstUIAction<T>(
    ISupportUIActions* actionSource
    ) where T: UIAction*
    generic<typename T>
    public:
    static T^ GetFirstUIAction(
    ISupportUIActions^ actionSource
    ) where T: UIAction^

    Parameters

    actionSource
    The action source.

    Type Parameters

    T
    The action type.

    Return Value

    The first action of specified type.
    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