Gets the Index identified by the name.

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

Syntax

C#
public Index GetIndex(
	string indexName
)
Visual Basic
Public Function GetIndex ( _
	indexName As String _
) As Index
Visual C++
public:
Index^ GetIndex(
	String^ indexName
)

Parameters

indexName
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