Share via


IUpdatable.SetValue(Object, String, Object) 方法

定義

將具有目標資源上指定名稱之屬性的值,設定為指定的屬性值。

public:
 void SetValue(System::Object ^ targetResource, System::String ^ propertyName, System::Object ^ propertyValue);
public void SetValue (object targetResource, string propertyName, object propertyValue);
abstract member SetValue : obj * string * obj -> unit
Public Sub SetValue (targetResource As Object, propertyName As String, propertyValue As Object)

參數

targetResource
Object

定義此屬性的目標物件。

propertyName
String

其中的值需要更新之屬性的名稱。

propertyValue
Object

要更新的屬性值。

適用於