IVsSelectionContext.CurrentSelection 属性

返回所选元素的集合在活动窗口的。 这是文档窗口或工具窗口。

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

语法

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

属性值

类型:System.Collections.ICollection

.NET Framework 安全性

请参见

参考

IVsSelectionContext 接口

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