OnInsertFile Method

MCManager API

Gets called when the user selects a file and inserts it into TinyMCE or a form or similar.

Namespace:  Moxiecode.Manager
Assembly:  MCManager (in MCManager.dll) Version: 1.0.0.0

Syntax

C#
public virtual bool OnInsertFile(
	ManagerEngine man,
	IFile file
)
Visual Basic (Declaration)
Public Overridable Function OnInsertFile ( _
	man As ManagerEngine, _
	file As IFile _
) As Boolean
Visual C++
public:
virtual bool OnInsertFile(
	ManagerEngine^ man, 
	IFile^ file
)

Parameters

man
Type: Moxiecode.Manager..::.ManagerEngine
ManagerEngine reference that the plugin is assigned to.
file
Type: Moxiecode.Manager.FileSystems..::.IFile
Implementation of the BaseFile class that was inserted/returned to external system.

Return Value

true/false if the execution of the event chain should continue execution.

Implements

IPlugin..::.OnInsertFile(ManagerEngine, IFile)

See Also