







Gets called before a file action occurs for example before a rename or copy.
Namespace:
Moxiecode.Manager
Assembly:
MCManager (in MCManager.dll) Version: 1.0.0.0
Syntax
C# |
---|
public virtual bool OnBeforeFileAction( ManagerEngine man, FileAction action, IFile file1, IFile file2 ) |
Visual Basic (Declaration) |
---|
Public Overridable Function OnBeforeFileAction ( _ man As ManagerEngine, _ action As FileAction, _ file1 As IFile, _ file2 As IFile _ ) As Boolean |
Visual C++ |
---|
public: virtual bool OnBeforeFileAction( ManagerEngine^ man, FileAction action, IFile^ file1, IFile^ file2 ) |
Parameters
- man
- Type: Moxiecode.Manager..::.ManagerEngine
ManagerEngine reference that the plugin is assigned to.
- action
- Type: Moxiecode.Manager.FileSystems..::.FileAction
File action type.
- file1
- Type: Moxiecode.Manager.FileSystems..::.IFile
File object 1 for example from in a copy operation.
- file2
- Type: Moxiecode.Manager.FileSystems..::.IFile
File object 2 for example to in a copy operation. Might be null in for example a delete.