共用方式為


SelectionContainer.SelectableObjects Property

Gets the collection of selectable objects.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Property SelectableObjects As ICollection
public ICollection SelectableObjects { get; set; }
public:
property ICollection^ SelectableObjects {
    ICollection^ get ();
    void set (ICollection^ value);
}
member SelectableObjects : ICollection with get, set
function get SelectableObjects () : ICollection 
function set SelectableObjects (value : ICollection)

Property Value

Type: ICollection
Returns a collection of selectable objects.

Remarks

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

.NET Framework Security

See Also

Reference

SelectionContainer Class

Microsoft.VisualStudio.Shell Namespace