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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
ReadOnly Property CurrentSelection As ICollection
Get
ICollection CurrentSelection { get; }
property ICollection^ CurrentSelection {
ICollection^ get ();
}
abstract CurrentSelection : ICollection
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