Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'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)
void SetReference(
Object targetResource,
string propertyName,
Object propertyValue
)
void SetReference(
Object^ targetResource,
String^ propertyName,
Object^ propertyValue
)
abstract SetReference :
targetResource:Object *
propertyName:string *
propertyValue:Object -> unit
function SetReference(
targetResource : Object,
propertyName : String,
propertyValue : Object
)
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.