Configuration.FilePath Property

 

Gets the physical path to the configuration file represented by this Configuration object.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

member FilePath : string with get

Property Value

Type: System.String

The physical path to the configuration file represented by this Configuration object.

If the value for this FilePath property represents a merged view and no actual file exists for the application, the path to the parent configuration file is returned.

The following code example demonstrates how to use the FilePath property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: