IJsonValue.GetNumber Method

Returns the number, if the ValueType of the encapsulated value is Number. If it is not, an exception is thrown.

Syntax

public:
float64 GetNumber()  

Return value

Type: float64 

  The encapsulated value.

Requirements

Namespace: Windows.Data.Json

Metadata: windows.winmd

See also

Reference

IJsonValue Interface

IJsonValue Members

Windows.Data.Json Namespace