Edit

Share via


ConfigurationProvider.TryGet(String, String) Method

Definition

Overloads

TryGet(String, String)

Attempts to find a value with the given key, returns true if one is found, false otherwise.

TryGet(String, String)

Source:
ConfigurationProvider.cs
Source:
ConfigurationProvider.cs
Source:
ConfigurationProvider.cs
Source:
ConfigurationProvider.cs

Attempts to find a value with the given key, returns true if one is found, false otherwise.

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

Parameters

key
String

The key to lookup.

value
String

The value found at key if one is found.

Returns

True if key has a value, false otherwise.

Implements

Applies to