Partager via


FileStorageCreationCommand.CanOverwriteFile Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Determines if the current FileName can be overwrriten. It will prompt the user throuth the user interface if the user wants to overwrite the file.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Configuration.Design.dll)

Syntax

'Declaration
ProtectedFunctionCanOverwriteFileAs Boolean
protected bool CanOverwriteFile()
protected:
bool CanOverwriteFile()
protectedfunctionCanOverwriteFile() : boolean

Return Value

truetrue (True in Visual Basic) if the file can be overwritten; otherwise, falsefalse (False in Visual Basic).

See Also

FileStorageCreationCommand Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.