ExtensionManager.GetExtension<TInterfaceType> – metoda (Type)
Načítá ExtensionHandle<TInterfaceType> , odpovídá zadané Type.
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}) ( _
extensionType As Type _
) As ExtensionHandle(Of TInterfaceType)
public ExtensionHandle<TInterfaceType> GetExtension<TInterfaceType>(
Type extensionType
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
ExtensionHandle<TInterfaceType>^ GetExtension(
Type^ extensionType
)
member GetExtension :
extensionType:Type -> ExtensionHandle<'TInterfaceType> when 'TInterfaceType : not struct and IExtension
Jazyk JScript nepodporuje obecné typy a metody.
Parametry typu
- TInterfaceType
A Type , dědí z IExtension.
Parametry
- extensionType
Typ: System.Type
Type Identifikuje typ rozšíření.
Vrácená hodnota
Typ: Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
An ExtensionHandle<TInterfaceType> of type IExtension.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.