ComponentInfoLoad Method (String, Boolean) |
Loads the component represented by this info object.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public Object Load(
string interfaceName,
bool okIfNotFound
)
Public Function Load (
interfaceName As String,
okIfNotFound As Boolean
) As Object
Parameters
- interfaceName
- Type: SystemString
The name of the interface to return. - okIfNotFound
- Type: SystemBoolean
When set, a null object will be returned if the component could not be loaded for any reason.
When not set, an appropriate AssemblyLoadFail exception will be thrown if the component could not be loaded for any reason.
Return Value
Type:
ObjectThe loaded component or null if the component could not be loaded and okIfNotFound is set.
See Also