Gets an instance of the Enum

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

Syntax

Visual Basic (Declaration)
Public Overridable Function GetInstance ( _
	code As Object _
) As Object
C#
public virtual Object GetInstance(
	Object code
)
Visual C++
public:
virtual Object^ GetInstance(
	Object^ code
)
JavaScript
function getInstance(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