Gets the Index identified by the name.

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

Syntax

Visual Basic (Declaration)
Public Function GetIndex ( _
	name As String _
) As Index
C#
public Index GetIndex(
	string name
)
Visual C++
public:
Index^ GetIndex(
	String^ name
)
JavaScript
function getIndex(name);

Parameters

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

Return Value

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

See Also