FieldAccessor.SetValue(Object, Object) 方法

定义

在派生类中重写时,设置指定对象的指定字段值。When overridden in a derived class, sets the specified value of the field for the specified object.

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

thisob
Object

此方法所作用于的对象。The object that this method is acting upon.

value
Object

要为字段设置的值。The value to set for the field.

适用于

另请参阅