ExtensionContextExtensions.GetCurrentDocumentSelection<T> 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.
T türünde olan geçerli belge seçiminin alt kümesini al
public:
generic <typename T>
where T : class[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<T> ^ GetCurrentDocumentSelection(Microsoft::VisualStudio::Modeling::Diagrams::ExtensionEnablement::IVsSelectionContext ^ context);
public static System.Collections.Generic.IEnumerable<T> GetCurrentDocumentSelection<T> (this Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IVsSelectionContext context) where T : class;
static member GetCurrentDocumentSelection : Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.IVsSelectionContext -> seq<'T (requires 'T : null)> (requires 'T : null)
<Extension()>
Public Function GetCurrentDocumentSelection(Of T As Class) (context As IVsSelectionContext) As IEnumerable(Of T)
Tür Parametreleri
- T
Seçimdeki örnekleri görüntiğimiz bir tür
Parametreler
- context
- IVsSelectionContext
Döndürülenler
- IEnumerable<T>
T türünde seçili öğelerin bir alt kümesi olan bir sabit listesi