Share via


ResourceDictionary.ContainsKey(String) Method

Definition

Whether the ResourceDictionary contains a key-value pair identified by key.

public bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool

Parameters

key
System.String

The identifier being searched for.

Returns

System.Boolean

Implements

System.Collections.Generic.IDictionary`2.ContainsKey(`0)

Applies to