ExtensionContextExtensions.IsSingleDocumentSelection Yöntem

Tanım

Etkin belgede yalnızca bir adet seçili öğe olup olmadığını döndürür.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsSingleDocumentSelection(Microsoft::VisualStudio::Modeling::Diagrams::ExtensionEnablement::IVsSelectionContext ^ context);
public static bool IsSingleDocumentSelection (this Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IVsSelectionContext context);
static member IsSingleDocumentSelection : Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IVsSelectionContext -> bool
<Extension()>
Public Function IsSingleDocumentSelection (context As IVsSelectionContext) As Boolean

Parametreler

Döndürülenler

Boolean

true: etkin belgede tam olarak bir seçili öğe varsa yanlış: Aksi takdirde.

Şunlara uygulanır