IVsSelectionContext.SingleSelection Property
Returns the primary selected object in 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 SingleSelection As Object
Object SingleSelection { get; }
property Object^ SingleSelection {
Object^ get ();
}
abstract SingleSelection : Object with get
function get SingleSelection () : Object
Property Value
Type: System.Object
.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