Langue

SimpleObjectMemory.TryGetValue(String, Object) Méthode

Définition

Essayez de tirer de la valeur d’un chemin donné.

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

Paramètres

path
String

Chemin donné.

value
Object

Valeur résolue.

Retours

Vrai si la mémoire contient un élément avec la clé spécifiée ; sinon, faux.

Implémente

S’applique à