ITypeResolutionService::GetAssembly Method (AssemblyName^, Boolean)

 

Gets the requested assembly.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

Assembly^ GetAssembly(
	AssemblyName^ name,
	bool throwOnError
)

Parameters

name
Type: System.Reflection::AssemblyName^

The name of the assembly to retrieve.

throwOnError
Type: System::Boolean

true if this method should throw an exception if the assembly cannot be located; otherwise, false, and this method returns null if the assembly cannot be located.

Return Value

Type: System.Reflection::Assembly^

An instance of the requested assembly, or null if no assembly can be located.

.NET Framework
Available since 1.1
Return to top
Show: