Get the index of the given collection entry

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

Syntax

C#
Object GetIndex(
	Object entry,
	int i,
	ICollectionPersister persister
)
Visual Basic
Function GetIndex ( _
	entry As Object, _
	i As Integer, _
	persister As ICollectionPersister _
) As Object
Visual C++
Object^ GetIndex(
	Object^ entry, 
	int i, 
	ICollectionPersister^ persister
)

Parameters

entry
Type: System..::..Object

[Missing <param name="entry"/> documentation for "M:NHibernate.Collection.IPersistentCollection.GetIndex(System.Object,System.Int32,NHibernate.Persister.Collection.ICollectionPersister)"]

i
Type: System..::..Int32

[Missing <param name="i"/> documentation for "M:NHibernate.Collection.IPersistentCollection.GetIndex(System.Object,System.Int32,NHibernate.Persister.Collection.ICollectionPersister)"]

persister
Type: NHibernate.Persister.Collection..::..ICollectionPersister

[Missing <param name="persister"/> documentation for "M:NHibernate.Collection.IPersistentCollection.GetIndex(System.Object,System.Int32,NHibernate.Persister.Collection.ICollectionPersister)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Collection.IPersistentCollection.GetIndex(System.Object,System.Int32,NHibernate.Persister.Collection.ICollectionPersister)"]

See Also