ChainedConfigurationProvider.TryGet(String, String) Metodo

Definizione

Prova a ottenere un valore di configurazione per la chiave specificata.

public:
 virtual bool TryGet(System::String ^ key, [Runtime::InteropServices::Out] System::String ^ % value);
public bool TryGet (string key, out 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

Parametri

key
String

Chiave.

value
String

Quando termina, questo metodo contiene il valore .

Restituisce

true se viene trovato un valore per la chiave specificata; in caso contrario, false.

Implementazioni

Si applica a