Optional operation. Does the collection contain the entity instance?
Namespace: NHibernate.UserTypesAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
bool Contains( Object collection, Object entity ) |
Visual Basic |
---|
Function Contains ( _ collection As Object, _ entity As Object _ ) As Boolean |
Visual C++ |
---|
bool Contains( Object^ collection, Object^ entity ) |
Parameters
- collection
- Type: System..::..Object
[Missing <param name="collection"/> documentation for "M:NHibernate.UserTypes.IUserCollectionType.Contains(System.Object,System.Object)"]
- entity
- Type: System..::..Object
[Missing <param name="entity"/> documentation for "M:NHibernate.UserTypes.IUserCollectionType.Contains(System.Object,System.Object)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.UserTypes.IUserCollectionType.Contains(System.Object,System.Object)"]