InitialValueExpressionCollection.HasKey(String) InitialValueExpressionCollection.HasKey(String) InitialValueExpressionCollection.HasKey(String) InitialValueExpressionCollection.HasKey(String) Method

Definition

Returns a value that indicates whether the collection contains 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

Parameters

key
String String

The key to check for.

Returns

bool bool

true if the key is in the collection; otherwise, false.