Udostępnij za pośrednictwem


Właściwość IVsSelectionContext.CurrentDocumentSelection —

Zwraca kolekcję wybranych elementów w oknie aktywnego dokumentu.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Składnia

'Deklaracja
ReadOnly Property CurrentDocumentSelection As ICollection
ICollection CurrentDocumentSelection { get; }

Wartość właściwości

Typ: System.Collections.ICollection

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IVsSelectionContext Interfejs

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement