Click or drag to resize

IConfigurationProviderTryGet Method

Attempts to get the value associated with the specified key.

Namespace:  Dynamicweb.Configuration
Assembly:  Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax
bool TryGet(
	string key,
	out string value
)

Parameters

key
Type: SystemString
Key of the value to get.
value
Type: SystemString
When this method returns, contains the value associated with the specified key, or null if the operation failed.

Return Value

Type: Boolean
true if the specified key was found; otherwise, false.
See Also