SelectionContainer.SelectedObjects Property
Gets or sets the collection of selected objects.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Property SelectedObjects As ICollection
public ICollection SelectedObjects { get; set; }
Property Value
Type: System.Collections.ICollection
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.