Gets the path for the specificed Config file
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string GetPathToFile( Config..::..ConfigFileType file, bool overwrite ) |
Visual Basic |
---|
Public Shared Function GetPathToFile ( file As Config..::..ConfigFileType, overwrite As Boolean ) As String |
Parameters
- file
- Type: DotNetNuke.Common.Utilities..::..Config..::..ConfigFileType
The config.file to get the path for
- overwrite
- Type: System..::..Boolean
force an overwrite of the config file
Return Value
fully qualified path to the file
Remarks
Will copy the file from the template directory as requried