ObjectPath.TryGetPathValue<T>(Object, String, T) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtenez la valeur d’un chemin d’accès par rapport à un objet.
public static bool TryGetPathValue<T>(object obj, string path, out T value);
static member TryGetPathValue : obj * string * 'T -> bool
Public Shared Function TryGetPathValue(Of T) (obj As Object, path As String, ByRef value As T) As Boolean
Paramètres de type
- T
Tapez pour revenir.
Paramètres
- obj
- Object
Un objet pour commencer.
- path
- String
chemin d’accès à évaluer.
- value
- T
valeur du chemin d’accès.
Retours
true si elle réussit.