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

定义

设置目标对象的指定引用属性的值。

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

参数

targetResource
Object

用于定义属性的目标对象。

propertyName
String

需要更新其值的属性的名称。

propertyValue
Object

要更新的属性值。

适用于