Indicates if file rewrite is allowed.

Namespace: MonoSoftware.MonoX.FileSystem
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
bool AllowOverwrite(
	string filePath,
	bool isNewFileRequest,
	bool overwriteExistingFiles
)
Visual Basic
Function AllowOverwrite ( 
	filePath As String,
	isNewFileRequest As Boolean,
	overwriteExistingFiles As Boolean
) As Boolean
Visual C++
bool AllowOverwrite(
	String^ filePath, 
	bool isNewFileRequest, 
	bool overwriteExistingFiles
)
F#
abstract AllowOverwrite : 
        filePath : string * 
        isNewFileRequest : bool * 
        overwriteExistingFiles : bool -> bool 

Parameters

filePath
Type: System..::..String
File path.
isNewFileRequest
Type: System..::..Boolean
Is new file request.
overwriteExistingFiles
Type: System..::..Boolean
Indicate if existing files are to be overwritten.

Return Value

Type: Boolean
True if overwrite is allowed, false otherwise.

See Also