Copies the file, chooses the new file name that is not already taken, passing the template name for the new file (used when creating new pages).
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool FreeFileCopy(
string sourceFileName,
string destFileName,
string templateName
) |
Visual Basic |
---|
Public Shared Function FreeFileCopy (
sourceFileName As String,
destFileName As String,
templateName As String
) As Boolean |
Visual C++ |
---|
public:
static bool FreeFileCopy(
String^ sourceFileName,
String^ destFileName,
String^ templateName
) |
F# |
---|
static member FreeFileCopy :
sourceFileName : string *
destFileName : string *
templateName : string -> bool
|
Return Value
Type:
BooleanTrue if everything is ok, false otherwise
See Also