Mono Class Library: System.Reflection.Assembly Overview | Members

System.Reflection.Assembly.GetType Method

Returns the Type object with the specified name defined in the current assembly. [Edit]

public virtual Type GetType (string name)

Parameters

name
A string containing the name of the type defined in the current assembly. [Edit]

Returns

A Type object that represents the specified type, or null if the specified Type was not found. [Edit]

Exceptions

TypeReason
ArgumentExceptionname is equal to string.Empty or starts with the null character ('\0'). [Edit]
ArgumentNullExceptionname is null. [Edit]

Remarks

Operation
As described above. [Edit]

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0