Optional operation. Return the index of the entity in the collection.

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

Syntax

C#
Object IndexOf(
	Object collection,
	Object entity
)
Visual Basic
Function IndexOf ( _
	collection As Object, _
	entity As Object _
) As Object
Visual C++
Object^ IndexOf(
	Object^ collection, 
	Object^ entity
)

Parameters

collection
Type: System..::..Object

[Missing <param name="collection"/> documentation for "M:NHibernate.UserTypes.IUserCollectionType.IndexOf(System.Object,System.Object)"]

entity
Type: System..::..Object

[Missing <param name="entity"/> documentation for "M:NHibernate.UserTypes.IUserCollectionType.IndexOf(System.Object,System.Object)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.UserTypes.IUserCollectionType.IndexOf(System.Object,System.Object)"]

See Also