Click or drag to resize

ApplicationContextLoadAssembly Method

Load an assembly into the current AppDomain.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public LoadedAssembly LoadAssembly(
	string assemblyName,
	string hintPath,
	bool isFrameworkAssembly,
	IEnumerable<string> alternatePaths,
	out string errorMessage,
	Project project,
	Reference reference
)

Parameters

assemblyName
Type: SystemString
The display name, short name, or file name of the assembly.
hintPath
Type: SystemString
Optional full file specification of the assembly.
isFrameworkAssembly
Type: SystemBoolean
True for framework assemblies.
alternatePaths
Type: System.Collections.GenericIEnumerableString
Optional alternate search paths for the assembly.
errorMessage
Type: SystemString
Returns an error message string if there was one.
project
Type: Nova.CodeDOMProject
The Project associated with the assembly.
reference
Type: Nova.CodeDOMReference
The Reference object associated with the assembly.

Return Value

Type: LoadedAssembly
The LoadedAssembly object.
See Also