Condividi tramite


Proprietà IMonitorSelectionService.CurrentSelectionContainer

Ottiene il contenitore attivo della selezione.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Sintassi

'Dichiarazione
ReadOnly Property CurrentSelectionContainer As Object
Object CurrentSelectionContainer { get; }

Valore proprietà

Tipo: System.Object
Contenitore attivo della selezione.

Note

I gestori controlli derivati dalla selezione corrente devono utilizzare questa proprietà anziché la proprietà di CurrentWindow perché il contenitore a selezione potrebbe non corrispondere alla finestra attivata.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IMonitorSelectionService Interfaccia

Spazio dei nomi Microsoft.VisualStudio.Modeling.Shell