ITask::get_DateCompleted (Windows Embedded CE 6.0)

1/6/2010

The DateCompleted property retrieves a value that indicates the date and time when the Task was completed.

Note

This value is set to the current date on the mobile device when you set the ITask::get_Complete property.

Syntax

HRESULT get_DateCompleted(
   DATE * pst
);

Parameters

  • pst
    [out] Reference to the DATE object that defines the date completed.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

The DateCompleted property is set to the current date when you set the Complete property is set to VARIANT_TRUE. For more information, see ITask::put_Complete.

Dates must be set between 1/1/1900 and 12/31/2999, inclusive.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

ITask
Pocket Outlook Object Model Interfaces
ITask::get_Complete

Other Resources

Pocket Outlook Object Model Enumerations
DATE