PropertySet.HasKey(String) PropertySet.HasKey(String) PropertySet.HasKey(String) PropertySet.HasKey(String) PropertySet.HasKey(String) Method

Definition

Indicates whether the property set has an item with the specified key.

public : Platform::Boolean HasKey(Platform::String key)
bool HasKey(winrt::hstring key) const;
public bool HasKey(String key)
Public Function HasKey(key As String) As bool
var bool = propertySet.hasKey(key);

Parameters

key
String String String

The key.

Returns

bool bool bool

True if the property set has an item with the specified key; otherwise, false.