Click or drag to resize

ConfigurationManagerXmlExtensionsAddXmlFile Method

Adds an xml configuration file to the configuration manager.

Namespace:  Dynamicweb.Configuration.Xml
Assembly:  Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax
public static void AddXmlFile(
	this ConfigurationManager manager,
	string fullPath
)

Parameters

manager
Type: Dynamicweb.ConfigurationConfigurationManager
An instance of ConfigurationManager to which the configuration file should be added.
fullPath
Type: SystemString
Absolute path to a configuration file.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConfigurationManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also