共用方式為


SelectionContainer.SelectedObjects Property

Definition

Gets or sets the collection of selected objects.

public:
 property System::Collections::ICollection ^ SelectedObjects { System::Collections::ICollection ^ get(); void set(System::Collections::ICollection ^ value); };
public System.Collections.ICollection SelectedObjects { get; set; }
member this.SelectedObjects : System.Collections.ICollection with get, set
Public Property SelectedObjects As ICollection

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