語言

SimpleObjectMemory.TryGetValue(String, Object) 方法

定義

試著從某條路徑中獲得價值。

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

參數

path
String

給了我一條路。

value
Object

已解決的價值。

傳回

若記憶體包含具有指定鍵的元素,則為真;否則,則為錯誤。

實作

適用於