IVsSelectionContext.CurrentSelection Property
Returns the collection of selected elements in the active window. This could be a document window or tool window.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
ReadOnly Property CurrentSelection As ICollection
ICollection CurrentSelection { get; }
property ICollection^ CurrentSelection {
ICollection^ get ();
}
abstract CurrentSelection : ICollection with get
function get CurrentSelection () : ICollection
Property Value
Type: System.Collections.ICollection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace