Поделиться через


ExtensionManager.GetExtension<TInterfaceType> Method (Type)

Retrieves an ExtensionHandle<TInterfaceType> that matches the provided Type.

Namespace:  Microsoft.Data.Schema.Extensibility
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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
JScript does not support generic types or methods.

Type Parameters

Parameters

Return Value

Type: Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
An ExtensionHandle<TInterfaceType> of type IExtension.

.NET Framework Security

See Also

Reference

ExtensionManager Class

GetExtension Overload

Microsoft.Data.Schema.Extensibility Namespace

GetExtension

IExtension

ExtensionHandle<TInterfaceType>