JsonObject.GetNamedNumber Method

Gets the number value with the specified name.

Syntax

public:
float64 GetNamedNumber(
         String^ name
)  

Parameters

name
Type: String 

  The name.

Return value

Type: float64 

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