Edit

Share via


ImmutableList<T>.Contains(T) Method

Definition

Determines whether this immutable list contains the specified value.

public:
 virtual bool Contains(T value);
public bool Contains (T value);
abstract member Contains : 'T -> bool
override this.Contains : 'T -> bool
Public Function Contains (value As T) As Boolean

Parameters

value
T

The value to locate.

Returns

true if the list contains the specified value; otherwise, false.

Implements

Applies to