Jaa


IMemory.TryGetValue(String, Object) Method

Definition

Try get value from a given path, it can be a simple identifier like "a", or a combined path like "a.b", "a.b[2]", "a.b[2].c", inside [] is guaranteed to be a int number or a string.

public bool TryGetValue (string path, out object value);
abstract member TryGetValue : string * obj -> bool
Public Function TryGetValue (path As String, ByRef value As Object) As Boolean

Parameters

path
String

memory path.

value
Object

resolved value.

Returns

true if the memory contains an element with the specified key; otherwise, false.

Applies to