Skip to main content Skip to complementary content

GetCurrentSelectionAsync Method

Overloads

GetCurrentSelectionAsync(IApp)

This method creates and returns a session object that must be disposed to avoid session object leakage.

GetCurrentSelectionAsync(IApp)

This method creates and returns a session object that must be disposed to avoid session object leakage.

Declaration

      public static Task<ICurrentSelection> GetCurrentSelectionAsync(this IApp theApp)
    

Parameters

Type Name Description
IApp theApp

Returns

Type Description
System.Threading.Tasks.Task<ICurrentSelection>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!