Share via


IAppointment::put_Start

The Start property gets or sets the time when an appointment starts.

To set the value of the Start property, call the property method described here.

To get the value of the Start property, see the IAppointment::get_Start property method.

Syntax

HRESULT put_Start(
  DATE st
);

Parameters

  • st
    [in] Reference to the date object that defines the start.

Return Values

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

This must be set before or equal to the End property. Dates must be between 1/1/1900 and 12/31/2999 inclusive. The default start time is the top of the next hour. For example, if the current time is 10:37 A.M., the default start time is 11:00 A.M.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: pimstore.h
Library: pimstore.lib

See Also

How to: Create a PIM Item

IAppointment

Pocket Outlook Object Model API Interfaces

Pocket Outlook Object Model API Enumerations

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.