ExtensionContextExtensions.IsSingleSelection(IVsSelectionContext) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
- context
- IVsSelectionContext
Döndürülenler
true: etkin pencerede tam olarak bir seçili öğe varsa. yanlış: Aksi takdirde.