Raises the NewAssignableResourceItem event when a new item is created in the assignable resources collection to allow the event handlers to create their own resource item type.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
protected internal virtual Object OnNewAssignableResourceItem(
	out bool cancel,
	params Object[] parameters
)
Visual Basic (Declaration)
Protected Friend Overridable Function OnNewAssignableResourceItem ( _
	<OutAttribute> ByRef cancel As Boolean, _
	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.
parameters
Type: array< System..::.Object >[]()[]
List of parameters used for actually creating the new resource item.

Return Value

The newly created resource item.

See Also