IVsSelectionContext.CurrentSelection 属性

返回在活动窗口中选择的元素的集合。 这可以是文件窗口或工具窗口。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
ReadOnly Property CurrentSelection As ICollection
ICollection CurrentSelection { get; }

属性值

类型:System.Collections.ICollection

.NET Framework 安全性

请参阅

参考

IVsSelectionContext 接口

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement 命名空间