ObjectPath.SetPathValue(Object, String, Object, Boolean) 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.
Given an object evaluate a path to set the value.
public static void SetPathValue (object obj, string path, object value, bool json = true);
static member SetPathValue : obj * string * obj * bool -> unit
Public Shared Sub SetPathValue (obj As Object, path As String, value As Object, Optional json As Boolean = true)
Parameters
- obj
- Object
object to start with.
- path
- String
path to evaluate.
- value
- Object
value to store.
- json
- Boolean
if true, sets the value as primitive JSON objects.