Office.BindingType enum
返されるバインディング オブジェクトの種類を指定します。
注釈
使用元
例
// Create a new table binding for the selected table.
Office.context.document.bindings.addFromSelectionAsync(Office.BindingType.Table, { id: "MyTableBinding" }, function (asyncResult) {
if (asyncResult.status === Office.AsyncResultStatus.Failed) {
showMessage("Action failed with error: " + asyncResult.error.message);
} else {
showMessage("Added new binding with type: " + asyncResult.value.type + " and ID: " + asyncResult.value.id);
}
});
フィールド
| Matrix | ヘッダー行なしの表形式データ。 データは配列の配列として返されます(例: [[row1column1, row1column2],[row2column1, row2column2]] |
| Table | ヘッダー行ありの表形式データ。 データは、TableData オブジェクトとして返されます。 |
| Text | プレーンテキスト。 データは、一連の文字として返されます。 |