Office.RecurrenceTimeZone interface

定期的なタイム ゾーンを表します。

注釈

API セット: メールボックス 1.7

最小アクセス許可レベル: 項目の読み取り

適用可能な Outlook モード: Composeまたは読み取り

使用元

// This example gets the Recurrence object of an appointment item.
Office.context.mailbox.item.recurrence.getAsync(callback);

function callback(asyncResult) {
    const context = asyncResult.context;
    const recurrence = asyncResult.value;
    if (!recurrence) {
    //if (recurrence == null) {
        console.log("One-time appointment or meeting");
    } else {
        console.log(JSON.stringify(recurrence));
    }
}

// The following example shows the results of the getAsync call that retrieves the recurrence for a series.
// NOTE: In this example, seriesTimeObject is a placeholder for the JSON representing the
// recurrence.seriesTime property. You should use the SeriesTime object's methods to get the
// recurrence date and time properties.
Recurrence = {
    "recurrenceType": "weekly",
    "recurrenceProperties": {"interval": 2, "days": ["mon","thu","fri"], "firstDayOfWeek": "sun"},
    "seriesTime": {seriesTimeObject},
    "recurrenceTimeZone": {"name": "Pacific Standard Time", "offset": -480}
}

プロパティ

name

定期的なタイム ゾーンの名前を表します。

offset

一連の会議が開始された日付のローカル タイム ゾーンと UTC の分単位の差を表す整数値。

プロパティの詳細

name

定期的なタイム ゾーンの名前を表します。

name: MailboxEnums.RecurrenceTimeZone | string;

プロパティ値

offset

一連の会議が開始された日付のローカル タイム ゾーンと UTC の分単位の差を表す整数値。

offset?: number;

プロパティ値

number