IDictionaryService.GetKey(Object) 方法
定义
获取对应于指定值的键。Gets the key corresponding to the specified value.
public:
System::Object ^ GetKey(System::Object ^ value);
public object GetKey (object value);
abstract member GetKey : obj -> obj
Public Function GetKey (value As Object) As Object
参数
- value
- Object
要在字典中查找的值。The value to look up in the dictionary.
返回
关联键,或者在不存在关联键的情况下为 null。The associated key, or null if no key exists.