ExtensionManager.GetExtension<TInterfaceType> Method (String, String)
Finds an extension from loaded extensions in the current ExtensionManager by assembly name and type full name.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
'Declaration
Public Function GetExtension(Of TInterfaceType As {Class, IExtension}) ( _
assemblyName As String, _
typeFullName As String _
) As ExtensionHandle(Of TInterfaceType)
'Usage
Dim instance As ExtensionManager
Dim assemblyName As String
Dim typeFullName As String
Dim returnValue As ExtensionHandle(Of TInterfaceType)
returnValue = instance.GetExtension(assemblyName, _
typeFullName)
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
)
JScript does not support generic types or methods.
- TInterfaceType
assemblyName
Type: System.String
typeFullName
Type: System.String
Type: Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
[T:Microsoft.VisualStudio.TeamSystem.Data.Extensibility.ExtensionHandle<TInterfaceType>] is the ExtensionHandle object that implements the <TInterfaceType> interface.
- 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.