ChainedConfigurationProvider.TryGet(String, String) Méthode

Définition

Tente d’obtenir une valeur de configuration pour la clé spécifiée.

public:
 virtual bool TryGet(System::String ^ key, [Runtime::InteropServices::Out] System::String ^ % value);
public bool TryGet(string key, out string? value);
abstract member TryGet : string * string -> bool
override this.TryGet : string * string -> bool
Public Function TryGet (key As String, ByRef value As String) As Boolean

Paramètres

key
String

Clé.

value
String

Lorsque cette méthode est retournée, contient la valeur.

Retours

true si une valeur de la clé spécifiée a été trouvée ; sinon false.

Implémente

S’applique à