JsonObject.GetNamedValue Method

Gets the JsonValue value with the specified name.

Syntax

public:
JsonValue^ GetNamedValue(
         String^ name
)  

Parameters

name
Type: String 

  The name.

Return value

Type: JsonValue 

The JsonValue value with the specified name.

Important An exception is thrown if the name-value pair specified by name is not found in the JsonObject.

Requirements

Namespace: Windows.Data.Json

Metadata: windows.winmd

See also

Reference

JsonObject Class

JsonObject Members

Windows.Data.Json Namespace