ITask::get_DateCompleted (Compact 7)

3/12/2014

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

See Also

Reference

ITask
Pocket Outlook Object Model Interfaces
Pocket Outlook Object Model Enumerations
ITask::get_Complete