JsonObject.GetNamedString Method

Gets the string value with the specified name.

Syntax

public:
String^ GetNamedString(
         String^ name
)  

Parameters

name
Type: String 

  The name.

Return value

Type: String 

  The string 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