IDictionaryService.GetValue(Object) 方法

定义

获取对应于指定键的值。Gets the value corresponding to the specified key.

public:
 System::Object ^ GetValue(System::Object ^ key);
public object GetValue (object key);
abstract member GetValue : obj -> obj
Public Function GetValue (key As Object) As Object

参数

key
Object

要为其查找值的键。The key to look up the value for.

返回

Object

关联值,或者在不存在关联值的情况下为 nullThe associated value, or null if no value exists.

适用于