ExtensionContextExtensions.IsSingleDocumentSelection 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 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
- context
- IVsSelectionContext
Döndürülenler
true: etkin belgede tam olarak bir seçili öğe varsa yanlış: Aksi takdirde.