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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement 命名空間