ExtensionContextExtensions.IsSingleSelection(IVsSelectionContext) Yöntem

Tanım

Etkin pencerede yalnızca bir tane seçili öğe olup olmadığını döndürür. Bu bir belge veya araç penceresi olabilir.

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

Parametreler

Döndürülenler

Boolean

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

Şunlara uygulanır