In The Hand LtdIn The Hand
Task Class
.NET Components for Mobility
Defines a Task item in the Task collection. Tasks represent actionable "ToDo" items that can be prioritized (using Low, Normal, and High), delegated (by creating a Task Request, or using Assign Task), and completed (using % Complete).
Declaration Syntax
C#Visual Basic
public sealed class Task : PimItem, IDisposable
Public NotInheritable Class Task _
	Inherits PimItem _
	Implements IDisposable
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
Task()()()()
Initializes a new instance of the Task class.

Task(ItemId)
Initializes a new instance of the Task class that references the item ID of an existing Contact item.

AddCategory(String)
Add a category to the item.
(Inherited from PimItem.)
Beam()()()()
Send the current item via Infrared or Bluetooth (if available on the device).
(Inherited from PimItem.)
Body
Body Returns or sets the text of the notes accompanying the Task.

BodyChanged
Occurs when a Task's Body property changes.

Categories
Returns or sets the categories for the Task.

CategoriesChanged
Occurs when a Task's Categories property changes.

Complete
Returns or sets whether the Task is completed.

CompleteChanged
Occurs when a Task's Complete property changes.

Copy()()()()
Copy Create a Copy of the Task.

DateCompleted
Returns when the Task is completed.

Delete()()()()
Delete Delete the Task from the database.
(Overrides PimItem.Delete()()()().)
Dispose(Boolean)
Releases the unmanaged resources used by the Task and optionally releases the managed resources
(Overrides PimItem.Dispose(Boolean).)
Dispose()()()()
Releases all resources used by the PimItem.
(Inherited from PimItem.)
DoNotSynchronize
Gets or Sets a flag that identifies whether ActiveSync should synchronize this PIM item with Outlook and Exchange.
(Inherited from PimItem.)
DueDate
Returns or sets when the Task is due.

DueDateChanged
Occurs when a Task's DueDate property changes.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Frees the resources of the current PimItem object before it is reclaimed by the garbage collector.
(Inherited from PimItem.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Importance
Returns or sets the importance of the Task.

ImportanceChanged
Occurs when a Task's Importance property changes.

IsRecurring
Recurring Returns whether the Task is recurring.

ItemId
Gets the PIM item's ID.
(Inherited from PimItem.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnPropertyChanged(String)
(Inherited from PimItem.)
Properties
Gets the PimPropertySet. This object is used for creating custom PIM item properties.
(Inherited from PimItem.)
PropertyChanged
(Inherited from PimItem.)
Recent
A value indicating whether this PIM item is in the "recently viewed" list.
(Inherited from PimItem.)
RecurrencePattern
Recurrence Retrieves the current recurrence pattern for a Task.

ReminderDialog
Gets or sets a value indicating whether a reminder dialog box appears to remind the user of an upcoming Task.

ReminderDialogChanged
Occurs when a Task's ReminderDialog property changes.

ReminderLed
Gets or sets a value indicating whether Pocket Outlook uses the mobile device's notification LED to remind the user of an upcoming Task.

ReminderLedChanged
Occurs when a Task's ReminderLed property changes.

ReminderRepeat
Gets or sets a value indicating whether the Task reminder sound file repeats until the user dismisses the reminder.

ReminderRepeatChanged
Occurs when a Task's ReminderRepeat property changes.

ReminderSet
Reminder Returns or sets whether the user wants to be reminded of a Task.

ReminderSetChanged
Occurs when the Reminder Exists flag changes.

ReminderSound
Gets or sets a value indicating whether Pocket Outlook plays the reminder audio file to remind the user of an upcoming Task.

ReminderSoundChanged
Occurs when a Task's ReminderSound property changes.

ReminderSoundFile
Sound Returns or sets the path and file name of the sound file to play when the reminder occurs for the Task.

ReminderSoundFileChanged
Occurs when the Task's reminder sound file changes.

ReminderTime
Reminder Returns or sets when a reminder occurs before the StartDate or DueDate of a Task.

ReminderTimeChanged
Occurs when the Task's reminder time changes.

ReminderVibrate
Gets or sets a value indicating whether Pocket Outlook uses the mobile device's built-in vibrator to remind the user of an upcoming Task.

ReminderVibrateChanged
Occurs when a Task's ReminderVibrate property changes.

RemoveCategory(String)
Remove a category from the item.
(Inherited from PimItem.)
Sensitivity
Return or set the Sensitivity of the Task.

SensitivityChanged
Occurs when a Task's Sensitivity property changes.

ShowDialog()()()()
Opens the PIM item’s standard summary card.
(Inherited from PimItem.)
ShowDialog(Form)
Opens the PIM item’s standard summary card with the specified owner.
(Inherited from PimItem.)
ShowEditDialog(Form)
Opens the PIM item for editing in it's Edit tab with the specified owner.
(Inherited from PimItem.)
ShowEditDialog()()()()
ShowEditDialog Opens the PIM item for editing in it's Edit tab.

Requires Windows Mobile 5.0 or later

(Inherited from PimItem.)
SourceId
An integer indicating the source, or owning application, of the PIM item.
(Inherited from PimItem.)
StartDate
Returns or sets when the Task starts.

StartDateChanged
Occurs when a Task's StartDate property changes.

Subject
Returns or sets the subject for the Task.

SubjectChanged
Occurs when a Task's Subject property changes.

TeamTask
Returns or sets whether the Task is a team task.

TeamTaskChanged
Occurs when a Task's TeamTask property changes.

ToString()()()()
Gets the Task's subject line.
(Overrides Object.ToString()()()().)
Update()()()()
Update Updates the PIM item store by saving changes made to a PIM item.
(Overrides PimItem.Update()()()().)
Inheritance Hierarchy

Assembly: InTheHand.WindowsMobile.PocketOutlook (Module: InTheHand.WindowsMobile.PocketOutlook) Version: 7.0.0.0