[This is preliminary documentation and is subject to change.]

Inserts a single task. This inserertion does not take care of the recurrence

Namespace:  OfficeClip.DBLayer.Desktop
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int InsertSingleTask(
	TaskInfo ti,
	ConfigureInfo session,
	ref DateTime modifiedTime
)
Visual Basic (Declaration)
Public Function InsertSingleTask ( _
	ti As TaskInfo, _
	session As ConfigureInfo, _
	ByRef modifiedTime As DateTime _
) As Integer
Visual C++
public:
int InsertSingleTask(
	TaskInfo^ ti, 
	ConfigureInfo^ session, 
	DateTime% modifiedTime
)

Parameters

ti
Type: OfficeClip.BusinessLayer.Desktop..::.TaskInfo
The taskinfo object
session
Type: OfficeClip.Utils..::.ConfigureInfo
The user session
modifiedTime
Type: System..::.DateTime%
The last modified time

Return Value

The task id of the task, null if there is an error and the task could not be saved

See Also