Sdílet prostřednictvím


ExtensionManager.GetExtension<TInterfaceType> – metoda (ExtensionHandle)

Vyhledá v aktuálním rozšíření ExtensionManager typu IExtension a konfigurace objektu, který je identifikován jako ExtensionHandle hodnotu parametru.

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

Syntaxe

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

Parametry typu

Parametry

Vrácená hodnota

Typ: Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
ExtensionHandle<TInterfaceType> Zadaného TInterfaceType , byl načten.

Poznámky

Tato metoda je použité rozšíření, které budou rekonstruovány úchyty. Rekonstruované ExtensionHandle<TInterfaceType> objektu nutné předat tato metoda nejprve před jeho použitím.

Pokud neexistuje odpovídající ExtensionHandle<TInterfaceType> nalezen, vrátí metoda nullodkaz Null (Nothing v jazyce Visual Basic).

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ExtensionManager Třída

GetExtension – přetížení

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

GetExtension

IExtension

ExtensionHandle<TInterfaceType>