ChainedConfigurationProvider.TryGet(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- key
- String
The key.
- value
- String
When this method returns, contains the value.
Returns
true
if a value for the specified key was found, otherwise false
.
Implements
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.