IConfigurationProvider.TryGet(String, String) IConfigurationProvider.TryGet(String, String) IConfigurationProvider.TryGet(String, String) Method

Definition

Tries to get a configuration value for the specified key.

public bool TryGet (string key, out string value);
abstract member TryGet : string *  -> bool
Public Function TryGet (key As String, ByRef value As String) As Boolean

Parameters

key
String String String

The key.

value
String String String

The value.

Returns

True if a value for the specified key was found, otherwise false.

Applies to