Partager 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
ReadOnly Property SingleSelection As Object
    Get
Object SingleSelection { get; }
property Object^ SingleSelection {
    Object^ get ();
}
abstract SingleSelection : Object
function get SingleSelection () : Object

Property Value

Type: System.Object

.NET Framework Security

See Also

Reference

IVsSelectionContext Interface

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace