Creates an instance of the specified type.
Namespace: NHibernate.BytecodeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
Visual Basic |
---|
Function CreateInstance ( _
type As Type, _
nonPublic As Boolean _
) As Object |
Parameters
- type
- Type: System..::..Type
The type of object to create.
- nonPublic
- Type: System..::..Boolean
true if a public or nonpublic default constructor can match; false if only a public default constructor can match.
Return Value
A reference to the created object.
See Also