SimpleObjectMemory.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.
public bool TryGetValue (string path, out object value);
abstract member TryGetValue : string * obj -> bool
override this.TryGetValue : string * obj -> bool
Public Function TryGetValue (path As String, ByRef value As Object) As Boolean
Parameters
- path
- String
Given path.
- value
- Object
Resolved value.
Returns
True if the memory contains an element with the specified key; otherwise, false.