IDictionaryService.SetValue(Object, Object) 方法

定义

设置指定的键值对。

public:
 void SetValue(System::Object ^ key, System::Object ^ value);
public void SetValue (object key, object value);
public void SetValue (object key, object? value);
abstract member SetValue : obj * obj -> unit
Public Sub SetValue (key As Object, value As Object)

参数

key
Object

用作与值相关联的键的对象。

value
Object

要存储的值。

适用于