Udostępnij za pośrednictwem


Delta.TrySetPropertyValue Method (String, Object)

 

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

Remarks

Only properties that exist on Entity can be set. If there is a type mismatch the request will fail.

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

Syntax

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 MustOverride Function TrySetPropertyValue (
    name As String,
    value As Object
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if successful

Implements

IDelta.TrySetPropertyValue(String, Object)

See Also

Delta Class
System.Web.OData Namespace

Return to top