This document is archived and information here might be outdated. Recommended version. |
The current selection in the window.
[Visual Basic .NET] Public ReadOnly Property Selection As ISelection
[C#] public ISelection Selection {get;}
Selection returns a reference to the ISelection interface that can be used to manipulate NALocationObjects within the NAWindow.
On the ISelection interface, use the methods prefixed with Can to determine if the other methods are supported. For example, call CanSelectAll prior to attempting to call SelectAll.
On the ISelection interface, Clear does not unselect the selected NALocationObjects. Rather, Clear deletes the selected NALocationObjects from the NAClass.
Calling methods on the ISelection interface that modify NALocationObjects will perform the operation within an ArcMap undo/redo operation.