ExtensionManager.LoadType Method

Searches for and loads satellite types that are defined in DLLs. These DLLs can be located in the global assembly cache (GAC), the VS BaseDir, or the VSTSDB\Extensions folder.

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

Syntax

'Declaration
Public Shared Function LoadType ( _
    assemblyName As String, _
    typeName As String _
) As Type
public static Type LoadType(
    string assemblyName,
    string typeName
)
public:
static Type^ LoadType(
    String^ assemblyName, 
    String^ typeName
)
static member LoadType : 
        assemblyName:string * 
        typeName:string -> Type 
public static function LoadType(
    assemblyName : String, 
    typeName : String
) : Type

Parameters

  • assemblyName
    Type: System.String
    A String that contains the name of the assembly where the types are possibly located.

Return Value

Type: System.Type
A Type that matches the typeName.

Remarks

This method uses the same versioning mechanism that is used to load extensions.

.NET Framework Security

See Also

Reference

ExtensionManager Class

Microsoft.Data.Schema.Extensibility Namespace