SelectionContainer.SelectedObjects Property

Definition

Gets or sets the collection of selected objects.

C++
public:
 property System::Collections::ICollection ^ SelectedObjects { System::Collections::ICollection ^ get(); void set(System::Collections::ICollection ^ value); };

Property Value

Returns a collection of selected objects.

Remarks

This collection is equivalent to the collection returned by a call to ISelectionContainer with a selection type of SELECTED. The value of this collection changes when the selection container has its SelectObjects method called.

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022