UIHierarchy::SelectedItems Property

 

Gets a collection of all of the currently selected items.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

property Object^ SelectedItems {
	Object^ get();
}

Property Value

Type: System::Object^

An object containing a collection of all of the currently selected items.

SelectedItems returns a collection (safe array) containing the items currently selected in the tree view. SelectedItems returns the selected items as an array of UIHierarchy objects. This data is a snapshot, however, and is not updated if the status of the UIHierarchy window changes.

Return to top
Show: