Delta<TEntityType>.TrySetPropertyValue Method (String, Object)
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
public override bool TrySetPropertyValue(
string name,
object value
)
public:
virtual bool TrySetPropertyValue(
String^ name,
Object^ value
) override
override TrySetPropertyValue :
name:string *
value:Object -> bool
Public Overrides Function TrySetPropertyValue (
name As String,
value As Object
) As Boolean
Parameters
name
Type: System.StringThe name of the property.
value
Type: System.ObjectThe new value of the property.
Return Value
Type: System.Boolean
true if successful; otherwise, false.
Implements
IDelta.TrySetPropertyValue(String, Object) IDelta.TrySetPropertyValue(String, Object)
See Also
Delta<TEntityType> Class
System.Web.Http.OData Namespace
Return to top