Office.RecurrenceTimeZone interface

繰り返しのタイム ゾーンを表します。

注釈

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

最小アクセス許可レベル: アイテムの読み取り

適用できる Outlook モード: 新規作成または読み取り

// 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