Click or drag to resize

XmlConfigurationProviderTryGet Method

Attempts to get the value associated with the specified key.

Namespace:  Dynamicweb.Configuration.Xml
Assembly:  Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax
public 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.

Implements

IConfigurationProviderTryGet(String, String)
See Also