JsonObject.HasKey Method

Indicates whether the JsonObject has an entry with the requested key.

Syntax

public:
bool HasKey(
         String^ key
)  

Parameters

key
Type: String 

  The requested key.

Return value

Type: bool 

  true if the JsonObject has an entry with the requested key; otherwise, false.

Requirements

Namespace: Windows.Data.Json

Metadata: windows.winmd

See also

Reference

JsonObject Class

JsonObject Members

Windows.Data.Json Namespace