Click or drag to resize

ConfigurationManagerContains Method

Determines whether the configuration contains the specified key.

Namespace:  Dynamicweb.Configuration
Assembly:  Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax
public virtual bool Contains(
	string key
)

Parameters

key
Type: SystemString
The key that represents the value, e.g. "/Globalsettings/System/Database/Trusted"

Return Value

Type: Boolean
true if the configuration contains an entry with the specified key; otherwise,
false
.
See Also