IUpdatable.SetValue Method

Sets the value of the property with the specified name on the target resource to the specified property value.

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

Syntax

'Declaration
Sub SetValue ( _
    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.SetValue(targetResource, propertyName, _
    propertyValue)
void SetValue(
    Object targetResource,
    string propertyName,
    Object propertyValue
)
void SetValue(
    Object^ targetResource, 
    String^ propertyName, 
    Object^ propertyValue
)
abstract SetValue : 
        targetResource:Object * 
        propertyName:string * 
        propertyValue:Object -> unit
function SetValue(
    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 for update.

See Also

Reference

IUpdatable Interface

System.Data.Services Namespace