The only method of an addon. Performs the functions for this part of the the add-on and returns a string. For add-ons executing on a web page or as a remove method, the returned string is added to the page where the addon is placed. For addons run as processes, the returned string is logged in the process log.
Namespace: Contensive.BaseClasses
Assembly: CPBase (in CPBase.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Function Execute( _ ByVal CP As CPBaseClass _ ) As Object |
C# |
---|
public abstract object Execute( CPBaseClass CP ) |
C++ |
---|
public: Object Execute( CPBaseClass CP ) abstract |
J# |
---|
public abstract object Execute( CPBaseClass CP ) |
JScript |
---|
public abstract
function Execute( CP : CPBaseClass ) : Object |
Parameters
- CP
- An instance of the CPBaseClass with a valid CP.MyAddon object pointing to the current addon parameters (values for this addon in the database)