EAPUtilLoadComponent Method (String, String, String, AppDomain) |
Load a component DLL into the specified AppDomain.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static Object LoadComponent(
string assemblyPathAndName,
string className,
string interfaceName,
AppDomain domain
)
Public Shared Function LoadComponent (
assemblyPathAndName As String,
className As String,
interfaceName As String,
domain As AppDomain
) As Object
Parameters
- assemblyPathAndName
- Type: SystemString
The assembly in which the component resides. - className
- Type: SystemString
The class to load. - interfaceName
- Type: SystemString
The interface to access. - domain
- Type: SystemAppDomain
The domain into which to load.
Return Value
Type:
ObjectAn instance of the requested class or null
See Also