ICollection(T).Contains Method

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)

'Declaration
Private Function Contains ( _
	item As T _
) As Boolean Implements ICollection(Of T).Contains

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)

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft