Compartilhar via


IRecurrencePattern::get_Interval

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

The Intervalo propriedade obtém ou define o número de unidades entre ocorrências (dias, semanas, meses), de 1 a 999.

To get the value of the Intervalo property, call the property method described here.

To set the value of the Intervalo property, see the IRecurrencePattern::put_Interval property method.

Syntax

HRESULT get_Interval(
  long * plInterval
);

Parameters

  • plInterval
    [out] Referência a número de unidades entre ocorrências.

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

Para interpretar plInterval corretamente, você precisa saber o tipo de recorrência (que seja, as unidades de medida). Você pode chamar IRecurrencePattern::get_RecurrenceType Para localizar fora.

See the OlRecurrenceType enumeração para obter detalhes sobre tipos de recorrência.

You must set the RecurrenceType property before setting this property.

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::put_Interval
Pocket Outlook Object Model Interfaces

Other Resources