This method gets an instance of the IWorkflowAction associated to the content type and action type
Namespace: DotNetNuke.Entities.Content.Workflow.ActionsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
IWorkflowAction GetWorkflowActionInstance( int contentTypeId, WorkflowActionTypes actionType ) |
| Visual Basic |
|---|
Function GetWorkflowActionInstance ( contentTypeId As Integer, actionType As WorkflowActionTypes ) As IWorkflowAction |
Parameters
- contentTypeId
- Type: System..::..Int32
Content Item Id
- actionType
- Type: DotNetNuke.Entities.Content.Workflow.Actions..::..WorkflowActionTypes
Action type