'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub Replace( _ ByVal writableFileInfo As IWritableFileInfo, _ ByVal destinationFilePathAndName As String, _ ByVal destinationBackupFilePathAndName As String _ )
'Usage
Dim writableFileInfo As IWritableFileInfo Dim destinationFilePathAndName As String Dim destinationBackupFilePathAndName As String IWritableFileInfoExtension.Replace(writableFileInfo, destinationFilePathAndName, destinationBackupFilePathAndName)
[Extension()] public static void Replace( IWritableFileInfo writableFileInfo, string destinationFilePathAndName, string destinationBackupFilePathAndName )
[Extension()] public: static void Replace( IWritableFileInfo^ writableFileInfo, String^ destinationFilePathAndName, String^ destinationBackupFilePathAndName )
Parameters
- writableFileInfo
- The writable file info object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - destinationFilePathAndName
- The name of a file to replace with the current file.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - destinationBackupFilePathAndName
- The name of a file with which to create a backup of the file described by the destinationFilePathAndName parameter.
The value of this parameter can be
null
(Nothing
in Visual Basic).