ChainedConfigurationProvider.TryGet(String, String) Método
Definição
Tenta obter um valor de configuração para a chave especificada.Tries to get a configuration value for the specified key.
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
Parâmetros
- key
- String
A chave.The key.
- value
- String
O valor.The value.
Retornos
true se um valor para a chave especificada foi encontrado; caso contrário, false.true if a value for the specified key was found; otherwise, false.