JsonObject.HasKey(String) JsonObject.HasKey(String) JsonObject.HasKey(String) JsonObject.HasKey(String) Method

Definition

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

public : Platform::Boolean HasKey(Platform::String key)
bool HasKey(winrt::hstring key) const;
// This member is not implemented in C#
' This member is not implemented in VB.Net

Parameters

key
String String

The requested key.

Returns

bool bool

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