Raises the NewAssignmentItem event when a new assignment item is created in the assignment collection of a task to allow the event handlers to create their own assignment item type.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
C# |
---|
protected internal virtual Object OnNewAssignmentItem( out bool cancel, Task parentTask, params Object[] parameters ) |
Visual Basic (Declaration) |
---|
Protected Friend Overridable Function OnNewAssignmentItem ( _ <OutAttribute> ByRef cancel As Boolean, _ parentTask As Task, _ ParamArray parameters As Object() _ ) As Object |
Parameters
- cancel
- Type:
System..::.Boolean
%
Returns a value indicating whether the creation of the new item should be cancelled.
- parentTask
- Type: DlhSoft.Windows.Data..::.Task
Parent task of the new assignment.
- parameters
- Type: array<
System..::.Object
>[]()[]
List of parameters used for actually creating the new assignment item.