ArraySegment<T>.ICollection<T>.Contains(T) ArraySegment<T>.ICollection<T>.Contains(T) ArraySegment<T>.ICollection<T>.Contains(T) Method

Definition

Determines whether the array segment contains a specific value.

 virtual bool System.Collections.Generic.ICollection<T>.Contains(T item) = System::Collections::Generic::ICollection<T>::Contains;
bool ICollection<T>.Contains (T item);
Function Contains (item As T) As Boolean Implements ICollection(Of T).Contains

Parameters

item
T T T

The object to locate in the array segment.

Returns

true if item is found in the array segment; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ArraySegment<T> instance is cast to an ICollection<T> interface.

Applies to