IMemory.TryGetValue(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.
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.