IJsonValue.GetBoolean Method

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

Syntax

public:
bool GetBoolean()  

Return value

Type: bool 

  The encapsulated value.

Requirements

Namespace: Windows.Data.Json

Metadata: windows.winmd

See also

Reference

IJsonValue Interface

IJsonValue Members

Windows.Data.Json Namespace