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> |