Gets the UniqueKey identified by the name.

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

Syntax

Visual Basic (Declaration)
Public Function GetUniqueKey ( _
	name As String _
) As UniqueKey
C#
public UniqueKey GetUniqueKey(
	string name
)
Visual C++
public:
UniqueKey^ GetUniqueKey(
	String^ name
)
JavaScript
function getUniqueKey(name);

Parameters

name
Type: System..::.String
The name of the UniqueKey to get.

Return Value

The UniqueKey identified by the name. If the UniqueKey identified by the name does not exist then it is created.

See Also