Creates an instance of the specified type.

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

Syntax

C#
Object CreateInstance(
	Type type
)
Visual Basic
Function CreateInstance ( _
	type As Type _
) As Object
Visual C++
Object^ CreateInstance(
	Type^ type
)

Parameters

type
Type: System..::..Type
The type of object to create.

Return Value

A reference to the created object.

See Also