Język

SimpleObjectMemory.TryGetValue(String, Object) Metoda

Definicja

Spróbuj wyciągnąć wartość z danej ścieżki.

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

Parametry

path
String

Wyznaczona ścieżka.

value
Object

Wartość rozstrzygnięta.

Zwraca

Prawda, jeśli pamięć zawiera element o określonym kluczu; w przeciwnym razie – nieprawda.

Implementuje

Dotyczy