ConfigurationProvider.TryGet(String, String) Method
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.
Attempts to find a value with the given key.
public:
virtual bool TryGet(System::String ^ key, [Runtime::InteropServices::Out] System::String ^ % value);
public virtual bool TryGet(string key, out string? value);
abstract member TryGet : string * string -> bool
override this.TryGet : string * string -> bool
Public Overridable Function TryGet (key As String, ByRef value As String) As Boolean
- key
- String
The key to lookup.
- value
- String
When this method returns, contains the value if one is found.
true
if key
has a value; otherwise false
.
Produkt | Wersje |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Opinia o produkcie .NET
.NET to projekt typu open source. Wybierz link, aby przekazać opinię: