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

System.Reflection.Assembly.CreateInstance Method

Locates the specified type from this assembly and creates an instance of it using case-sensitive search. [Edit]

public object CreateInstance (string typeName)

Parameters

typeName
The name of the type to locate. [Edit]

Returns

An instance of Object representing the type, or null if typeName is not found. [Edit]

Exceptions

TypeReason
ArgumentExceptiontypeName is the empty string ("") or "\0anything". [Edit]
ArgumentNullExceptiontypeName is null. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

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