JsonArray.IndexOf Method

Searches for a JsonValue object and returns the zero-based index of its first occurrence within the JsonArray.

Syntax

public:
bool IndexOf(
         IJsonValue^ value,
         out uint32 index
)  

Parameters

value
Type: IJsonValue 

The IJsonValue to look up.

index
Type: uint32 

  The zero-based index of the first occurrence of item within the JsonArray, if found; otherwise, –1.

Return value

Type: bool 

  Returns a Boolean value indicating if an occurrence of value was found.

Requirements

Namespace: Windows.Data.Json

Metadata: windows.winmd

See also

Reference

JsonArray Class

JsonArray Members

Windows.Data.Json Namespace