Export (0) Print
Expand All

IUpdatable.SetReference Method

Sets the value of the specified reference property on the target object.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

'Declaration
Sub SetReference ( _
	targetResource As Object, _
	propertyName As String, _
	propertyValue As Object _
)
'Usage
Dim instance As IUpdatable 
Dim targetResource As Object 
Dim propertyName As String 
Dim propertyValue As Object

instance.SetReference(targetResource, _
	propertyName, propertyValue)

Parameters

targetResource
Type: System.Object
The target object that defines the property.
propertyName
Type: System.String
The name of the property whose value needs to be updated.
propertyValue
Type: System.Object
The property value to be updated.
Show:
© 2014 Microsoft