Compartilhar via


IRecurrencePattern::put_DayOfMonth

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

The DayOfMonth propriedade obtém ou define um padrão recorrência expresso como um dia do mês.

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

To get the value of the DayOfMonth property, see the IRecurrencePattern::get_DayOfMonth property method.

Syntax

HRESULT put_DayOfMonth(
  long lDay
);

Parameters

  • lDay
    [no] Um valor inteiro indicando o dia do mês ao padrão de recorrência ocorre (um valor entre 1 e 31, inclusive).

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED GPSGetPosition, e E_FAIL, as well as o seguinte.

  • S_OK
    The method completed successfully.

Remarks

You must set the RecurrenceType property before setting this property.

Se lDay referencia um valor maior do que o real número de dias em um mês específico, você deve interpretar a recorrência como ocorrendo no último dia do mês.

Valid for OlRecurrenceType enumeração recorrência tipos: olRecursMonthly GPSGetPosition, e olRecursYearly.

Requirements

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

See Also

Tasks

Creating a Recurring Appointment

Reference

IRecurrencePattern::get_DayOfMonth
Pocket Outlook Object Model Interfaces

Other Resources