Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- TInterfaceType
A Type that inherits from IExtension.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Data.Schema.Extensibility Namespace