ExtensionManager.GetExtension<TInterfaceType> Method (String, String)

Finds an extension from loaded extensions in the current ExtensionManager by using the provided assembly name and type name.

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

Syntax

'Declaration
Public Function GetExtension(Of TInterfaceType As {Class, IExtension}) ( _
    assemblyName As String, _
    typeFullName As String _
) As ExtensionHandle(Of TInterfaceType)
public ExtensionHandle<TInterfaceType> GetExtension<TInterfaceType>(
    string assemblyName,
    string typeFullName
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
ExtensionHandle<TInterfaceType>^ GetExtension(
    String^ assemblyName, 
    String^ typeFullName
)
member GetExtension : 
        assemblyName:string * 
        typeFullName:string -> ExtensionHandle<'TInterfaceType>  when 'TInterfaceType : not struct and IExtension
JScript does not support generic types or methods.

Type Parameters

Parameters

  • assemblyName
    Type: System.String
    A string that contains the name of the assembly.
  • typeFullName
    Type: System.String
    A string that contains the fully qualified type name.

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

ExtensionHandle<TInterfaceType>

IExtension