Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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: Object

.NET Framework Security

See Also

Reference

IVsSelectionContext Interface

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace