IUpdatable.SetReference(Object, String, Object) Method

Definition

Sets the value of the specified reference property on the target 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)

Parameters

targetResource
Object

The target object that defines the property.

propertyName
String

The name of the property whose value needs to be updated.

propertyValue
Object

The property value to be updated.

Applies to