[]
        
(Showing Draft Content)

C1.DataCollection.C1DataCollectionList-1.Contains

Contains Method

Contains(T)

Determines whether the ICollection<T> contains a specific value.

Declaration
public bool Contains(T item)
Parameters
Type Name Description
T item

The object to locate in the ICollection<T>.

Returns
Type Description
bool

true if item is found in the ICollection<T>; otherwise, false.

Implements

Contains(object?)

Determines whether the IList contains a specific value.

Declaration
public bool Contains(object? value)
Parameters
Type Name Description
object value

The object to locate in the IList.

Returns
Type Description
bool

true if the System.Object is found in the IList; otherwise, false.

Implements