IJsonValue.GetString Method

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

Syntax

public:
String^ GetString()  

Return value

Type: String 

  The encapsulated string value.

Requirements

Namespace: Windows.Data.Json

Metadata: windows.winmd

See also

Reference

IJsonValue Interface

IJsonValue Members

Windows.Data.Json Namespace