Load a System.Type given is't name.

Namespace: NHibernate.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Collapse imageSyntax

C#
public static Type ClassForFullName(
	string classFullName
)
Visual Basic
Public Shared Function ClassForFullName ( _
	classFullName As String _
) As Type
Visual C++
public:
static Type^ ClassForFullName(
	String^ classFullName
)

Parameters

classFullName
Type: System..::..String
The class FullName or AssemblyQualifiedName

Return Value

The System.Type

Collapse imageRemarks

If the classFullName don't represent an AssemblyQualifiedName the method try to find the System.Type scanning all Assemblies of the CurrentDomain.

Collapse imageExceptions

ExceptionCondition
System..::..TypeLoadExceptionIf no System.Type was found for classFullName.

Collapse imageSee Also