Partager via


UIHierarchy.SelectedItems Property

Definition

Gets a collection of all of the currently selected items.

public:
 property System::Object ^ SelectedItems { System::Object ^ get(); };
public:
 property Platform::Object ^ SelectedItems { Platform::Object ^ get(); };
[System.Runtime.InteropServices.DispId(4)]
public object SelectedItems { [System.Runtime.InteropServices.DispId(4)] get; }
[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
member this.SelectedItems : obj
Public ReadOnly Property SelectedItems As Object

Property Value

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

Attributes

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.

Applies to