Condividi tramite


Proprietà IMonitorSelectionService.CurrentDocument

ottiene il documento attivo.

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

Sintassi

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

Valore proprietà

Tipo: System.Object
il documento attivo.

Note

Questa proprietà viene tenuta traccia delle finestre degli strumenti assegnate al documento.

Il documento attivo in genere implementa IVsPersistDocData2 interfaccia.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IMonitorSelectionService Interfaccia

Spazio dei nomi Microsoft.VisualStudio.Modeling.Shell