Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the selected shapes in the active window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Protected ReadOnly Property CurrentSelection As ICollection
'Usage
Dim value As ICollection
value = Me.CurrentSelection
protected ICollection CurrentSelection { get; }
protected:
property ICollection^ CurrentSelection {
ICollection^ get ();
}
protected function get CurrentSelection () : ICollection
Property Value
Type: System.Collections.ICollection
The currently selected shapes.
Remarks
A user can select shapes in the document window or the tool window.
.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.