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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the array segment contains a specific value.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

Private Function Contains ( _
    item As T _
) As Boolean Implements ICollection(Of T).Contains
bool ICollection<T>.Contains(
    T item
)

Parameters

  • item
    Type: T
    The object to locate in the array segment.

Return Value

Type: System..::.Boolean
true if item is found in the array segment; otherwise, false.

Implements

ICollection<(Of <(T>)>)..::.Contains(T)

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

ArraySegment<(Of <(T>)>) Structure

System Namespace