NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISelectionService Methods

The methods of the ISelectionService interface are listed below. For a complete list of ISelectionService interface members, see the ISelectionService Members topic.

GetComponentSelected Gets whether the component is currently selected.
GetContainerSelected Gets whether the specified component is the currently selected container.
GetPrimarySelection Gets the object that is currently the primary selection.
GetSelectedComponents Gets an array of components that are currently part of the user's selection.
GetSelectionCount Gets the count of selected objects.
SetContainerSelected Changes the container selection status of the given component.
SetSelectedComponents Overloaded. Sets the currently selected set of components.

Event Hookup:

AddOnSelectionChanged Adds a System.ComponentModel.Design.ISelectionService.SelectionChanged event handler to the selection service.
AddOnSelectionChanging Adds an event handler to the selection service.
RemoveOnSelectionChanged Removes a selection changed event handler from the selection service.
RemoveOnSelectionChanging Removes a selection changing event handler from the selection service.

See Also

ISelectionService Interface | System.ComponentModel.Design Namespace