EdmStructuredObject.TrySetPropertyValue(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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