GetSelectionObserver Method
Overloads
| GetSelectionObserver(IApp, String) |
Create a SelectionObserver instance. |
GetSelectionObserver(IApp, String)
Create a SelectionObserver instance.
Declaration
public static ISelectionObserver GetSelectionObserver(IApp app, string stateName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IApp | app |
The app to observe. |
| System.String | stateName |
The name of the selection state to observe. |
Returns
| Type | Description |
|---|---|
| ISelectionObserver |
An ISelectionObserver instance. |