Called when a file has been renamed.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
protected virtual void OnRenamed( string from, string to, bool cancelled, Exception ex ) |
Visual Basic |
---|
Protected Overridable Sub OnRenamed ( _ from As String, _ to As String, _ cancelled As Boolean, _ ex As Exception _ ) |
Visual C++ |
---|
protected: virtual void OnRenamed( String^ from, String^ to, bool cancelled, Exception^ ex ) |
Parameters
- from
- Type: System..::..String
Previous name.
- to
- Type: System..::..String
New name.
- cancelled
- Type: System..::..Boolean
Indicates whether or not the rename operation was cancelled.
- ex
- Type: System..::..Exception
Exception thrown (if failed)