GraphPathSerializationDictionary.ContainsKey(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定 System.object 是否包含具有指定键的元素。
public:
virtual bool ContainsKey(System::String ^ key);
public bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (key As String) As Boolean
参数
- key
- String
要在 System.object 中查找的键。
返回
如果 System.object 包含具有键的元素,则为 True; 否则为。否则为 false。
实现
例外
key 为 null。