Share via


EdmStructuredObject.TrySetPropertyValue(String, Object) Method

Definition

Attempts to set the Property called name to the value specified. Only properties that exist on Entity can be set. If there is a type mismatch the request will fail.

public override bool TrySetPropertyValue (string name, object value);
override this.TrySetPropertyValue : string * obj -> bool
Public Overrides Function TrySetPropertyValue (name As String, value As Object) As Boolean

Parameters

name
String

The name of the Property

value
Object

The new value of the Property

Returns

True if successful

Applies to