Gets an instance of the Enum

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

Syntax

C#
public virtual Object GetInstance(
	Object code
)
Visual Basic
Public Overridable Function GetInstance ( _
	code As Object _
) As Object
Visual C++
public:
virtual Object^ GetInstance(
	Object^ code
)

Parameters

code
Type: System..::..Object
The underlying value of an item in the Enum.

Return Value

An instance of the Enum set to the code value.

See Also