Sdílet prostřednictvím


ExtensionManager.GetExtensions<TInterfaceType> – metoda

Vrátí seznam rozšíření typů pro typ rozhraní zadané rozšíření, které úspěšně načteny.

Obor názvů:  Microsoft.Data.Schema.Extensibility
Sestavení:  Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)

Syntaxe

'Deklarace
Public Function GetExtensions(Of TInterfaceType As {Class, IExtension}) As ReadOnlyCollection(Of ExtensionHandle(Of TInterfaceType))
public ReadOnlyCollection<ExtensionHandle<TInterfaceType>> GetExtensions<TInterfaceType>()
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
ReadOnlyCollection<ExtensionHandle<TInterfaceType>^>^ GetExtensions()
member GetExtensions : unit -> ReadOnlyCollection<ExtensionHandle<'TInterfaceType>>  when 'TInterfaceType : not struct and IExtension
Jazyk JScript nepodporuje obecné typy a metody.

Parametry typu

  • TInterfaceType
    Rozhraní, které dědí z IExtension rozhraní.

Vrácená hodnota

Typ: System.Collections.ObjectModel.ReadOnlyCollection<ExtensionHandle<TInterfaceType>>
A ReadOnlyCollection<T> typu ExtensionHandle , která obsahuje úchyty rozšíření, které byly úspěšně načteny.

Poznámky

Rozšíření, které jsou vráceny pouze nastavení kompatibilní s určenou v zprostředkovatele jsou ExtensionManager pomocí odpovídajícího typu.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ExtensionManager Třída

Microsoft.Data.Schema.Extensibility – obor názvů

GetExtension

ExtensionHandle

IExtension