PropertySet.HasKey Method

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

Syntax

public:
bool HasKey(
         String^ key
)  

Parameters

key
Type: String 

  The key.

Return value

Type: bool 

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

Requirements

Namespace: Windows.Foundation.Collections

Metadata: windows.winmd

See also

Reference

PropertySet Class

PropertySet Members

Windows.Foundation.Collections Namespace