ExtensionManager.GetExtension<TInterfaceType> Method (String, String, String)
Finds an extension from loaded extensions in the current ExtensionManager by assembly name, type full name, and configuration 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, _
configName As String _
) As ExtensionHandle(Of TInterfaceType)
'Usage
Dim instance As ExtensionManager
Dim assemblyName As String
Dim typeFullName As String
Dim configName As String
Dim returnValue As ExtensionHandle(Of TInterfaceType)
returnValue = instance.GetExtension(assemblyName, _
typeFullName, configName)
public ExtensionHandle<TInterfaceType> GetExtension<TInterfaceType>(
string assemblyName,
string typeFullName,
string configName
)
where TInterfaceType : class, IExtension
public:
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
ExtensionHandle<TInterfaceType>^ GetExtension(
String^ assemblyName,
String^ typeFullName,
String^ configName
)
JScript does not support generic types or methods.
member GetExtension :
assemblyName:string *
typeFullName:string *
configName:string -> ExtensionHandle<'TInterfaceType> when 'TInterfaceType : not struct and IExtension
Type Parameters
- TInterfaceType
Parameters
- assemblyName
Type: System.String
String is the name of the assembly where the extension is located.
- typeFullName
Type: System.String
String is the full name of the extension.
- configName
Type: System.String
String is the name of the configuration.
Return Value
Type: Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
[T:Microsoft.VisualStudio.TeamSystem.Data.Extensibility.ExtensionHandle<TInterfaceType>] is the ExtensionHandle object that implements the <TInterfaceType> interface.
.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.