RemoteSettings.TryGetValue<T>(String, String, T) Méthode

Définition

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

Boolean

True si la valeur existe, false dans le cas contraire.

Implémente

S’applique à