ApplicationDataCompositeValue.HasKey(String) Method

Definition

Determines whether there is an application setting with the specified key.

public:
 virtual bool HasKey(Platform::String ^ key) = IMap<Platform::String ^, Platform::Object ^>::HasKey;
bool HasKey(winrt::hstring const& key);
public bool HasKey(string key);
function hasKey(key)
Public Function HasKey (key As String) As Boolean

Parameters

key
String

Platform::String

winrt::hstring

The key.

Returns

Boolean

bool

True if the key is found; otherwise false.

Implements

Applies to