Delen via


BitmapPropertySet.HasKey(String) Method

Definition

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

public:
 virtual bool HasKey(Platform::String ^ key) = IMap<Platform::String ^, BitmapTypedValue ^>::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 property set has an item with the specified key; otherwise, false.

Implements

Applies to