Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

XmlConfiguratorAttribute.ConfigFile Property

Gets or sets the filename of the configuration file.

[Visual�Basic]
Public�Property�ConfigFile�As�String
[C#]
public�string�ConfigFile�{get;�set;}

Property Value

The filename of the configuration file.

Remarks

If specified, this is the name of the configuration file to use with the XmlConfigurator. This file path is relative to the application base directory (BaseDirectory).

The ConfigFile takes priority over the ConfigFileExtension.

See Also

XmlConfiguratorAttribute Class | log4net.Config Namespace