Bagikan melalui


ReadOnlyCollectionBuilder<T>.Contains Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Determines whether the ReadOnlyCollectionBuilder<T> contains a specific value

Namespace:  System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As T _
) As Boolean
public bool Contains(
    T item
)

Parameters

Return Value

Type: System.Boolean
true if item is found in the ReadOnlyCollectionBuilder<T>; otherwise, false.

Implements

ICollection<T>.Contains(T)

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.