ResourceDictionary.ContainsKey(String) 方法

定义

ResourceDictionary 是否包含由 key 标识的键值对。

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

参数

key
System.String

要搜索的标识符。

返回

System.Boolean

实现

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

适用于