Bagikan melalui


IUpdatable.SetValue(Object, String, Object) Metode

Definisi

Mengatur nilai properti dengan nama yang ditentukan pada sumber daya target ke nilai properti yang ditentukan.

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)

Parameter

targetResource
Object

Objek target yang menentukan properti .

propertyName
String

Nama properti yang nilainya perlu diperbarui.

propertyValue
Object

Nilai properti untuk pembaruan.

Berlaku untuk