TaskCollection.AddNew Method

3/29/2010

Creates a new Task item, and adds it to the Task collection.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public Task AddNew ()
'Declaration
Public Function AddNew As Task

Return Value

The new PimItem

Remarks

A NotSupportedException will be thrown by the base class if AllowNew is false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

TaskCollection Class
TaskCollection Members
Microsoft.WindowsMobile.PocketOutlook Namespace