RemoteSettings.TryGetValue<T>(String, 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.
Obtient une valeur de paramètre distant, le cas échéant.
public:
generic <typename T>
virtual bool TryGetValue(System::String ^ collectionPath, System::String ^ key, [Runtime::InteropServices::Out] T % value);
public bool TryGetValue<T> (string collectionPath, string key, out T value);
abstract member TryGetValue : string * string * 'T -> bool
override this.TryGetValue : string * string * 'T -> bool
Public Function TryGetValue(Of T) (collectionPath As String, key As String, ByRef value As T) As Boolean
Paramètres de type
- T
Paramètres
- collectionPath
- String
Chemin d’accès à la collection de paramètres distants sous la forme My\Custom\Path
- key
- String
Clé du paramètre distant
- value
- T
Valeur ou valeur par défaut (T)
Retours
True si la valeur existe, false dans le cas contraire.