Share via


IClrCollectionAccessor.Contains(Object, Object) Method

Definition

Checks whether the value is contained in the collection.

public bool Contains (object entity, object value);
abstract member Contains : obj * obj -> bool
Public Function Contains (entity As Object, value As Object) As Boolean

Parameters

entity
Object

The entity instance.

value
Object

The value to check.

Returns

true if the value is contained in the collection; false otherwise.

Applies to