Condividi tramite


JsonArray.Contains Method

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

Checks whether a specified JSON CLR type is in the JsonArray.

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

Syntax

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

Parameters

Return Value

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

Implements

ICollection<T>.Contains(T)

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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