Share via


EntityFrameworkDataServiceProvider.SetValue Method

Sets the value of the given property on the target object

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

Syntax

'Declaration
Public Overridable Sub SetValue ( _
    targetResource As Object, _
    propertyName As String, _
    propertyValue As Object _
)
'Usage
Dim instance As EntityFrameworkDataServiceProvider 
Dim targetResource As Object 
Dim propertyName As String 
Dim propertyValue As Object

instance.SetValue(targetResource, propertyName, _
    propertyValue)
public virtual void SetValue(
    Object targetResource,
    string propertyName,
    Object propertyValue
)
public:
virtual void SetValue(
    Object^ targetResource, 
    String^ propertyName, 
    Object^ propertyValue
)
abstract SetValue : 
        targetResource:Object * 
        propertyName:string * 
        propertyValue:Object -> unit  
override SetValue : 
        targetResource:Object * 
        propertyName:string * 
        propertyValue:Object -> unit
public function SetValue(
    targetResource : Object, 
    propertyName : String, 
    propertyValue : Object
)

Parameters

  • targetResource
    Type: System.Object
    target object which defines the property
  • propertyName
    Type: System.String
    name of the property whose value needs to be updated

Implements

IUpdatable.SetValue(Object, String, Object)

See Also

Reference

EntityFrameworkDataServiceProvider Class

System.Data.Services.Providers Namespace