Compartir a través de


UIHierarchy.SelectedItems Property

Gets a collection of all of the currently selected items.

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

Syntax

'Declaration
ReadOnly Property SelectedItems As Object
Object SelectedItems { get; }
property Object^ SelectedItems {
    Object^ get ();
}
abstract SelectedItems : Object with get
function get SelectedItems () : Object

Property Value

Type: System.Object
An object containing a collection of all of the currently selected items.

Remarks

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.

.NET Framework Security

See Also

Reference

UIHierarchy Interface

EnvDTE Namespace