SelectionContainer.SelectedObjects 属性

获取或设置选定的对象的集合。

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Property SelectedObjects As ICollection
public ICollection SelectedObjects { get; set; }

属性值

类型:System.Collections.ICollection
返回选定对象的集合。

备注

此集合与调用返回的集合等效于与 SELECTED的选择类型的 ISelectionContainer 。,当选择容器包含其调用,的 SelectObjects 方法此集合的值更改。

.NET Framework 安全性

请参见

参考

SelectionContainer 类

Microsoft.VisualStudio.Shell 命名空间