ObjectPath.SetPathValue(Object, String, Object, Boolean) Method

Definition

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.

Applies to