Share via


Delta.TrySetPropertyValue Method

Attempts to set the Property called name to the value specified.

Namespace:  System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public MustOverride Function TrySetPropertyValue ( _
    name As String, _
    value As Object _
) As Boolean
'Usage
Dim instance As Delta 
Dim name As String 
Dim value As Object 
Dim returnValue As Boolean 

returnValue = instance.TrySetPropertyValue(name, _
    value)
public abstract bool TrySetPropertyValue(
    string name,
    Object value
)
public:
virtual bool TrySetPropertyValue(
    String^ name, 
    Object^ value
) abstract
abstract TrySetPropertyValue : 
        name:string * 
        value:Object -> bool
public abstract function TrySetPropertyValue(
    name : String, 
    value : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
True if successful

Implements

IDelta.TrySetPropertyValue(String, Object)

See Also

Reference

Delta Class

System.Web.Http.OData Namespace