FileInfo.Replace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Replace(String, String) | |
Replace(String, String, Boolean) |
Replace(String, String)
public:
Microsoft::IO::FileInfo ^ Replace(System::String ^ destinationFileName, System::String ^ destinationBackupFileName);
public Microsoft.IO.FileInfo Replace (string destinationFileName, string? destinationBackupFileName);
member this.Replace : string * string -> Microsoft.IO.FileInfo
Public Function Replace (destinationFileName As String, destinationBackupFileName As String) As FileInfo
Parameters
- destinationFileName
- String
- destinationBackupFileName
- String
Returns
Applies to
Replace(String, String, Boolean)
public:
Microsoft::IO::FileInfo ^ Replace(System::String ^ destinationFileName, System::String ^ destinationBackupFileName, bool ignoreMetadataErrors);
public Microsoft.IO.FileInfo Replace (string destinationFileName, string? destinationBackupFileName, bool ignoreMetadataErrors);
member this.Replace : string * string * bool -> Microsoft.IO.FileInfo
Public Function Replace (destinationFileName As String, destinationBackupFileName As String, ignoreMetadataErrors As Boolean) As FileInfo
Parameters
- destinationFileName
- String
- destinationBackupFileName
- String
- ignoreMetadataErrors
- Boolean
Returns
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.