Excel.LinkedEntityId interface
リンクされたエンティティ ID オブジェクトは、このサービス定義値を検索するためのサービスとカルチャを記述するプロパティのセットを表します。
注釈
使用元
- Excel.LinkedEntityCellValue: id
- Excel.LinkedEntityCellValueLoadedEventArgs: id
- Excel.LinkedEntityDataDomainCollection: loadLinkedEntityCellValue
- Excel.Workbook: getLinkedEntityCellValue
例
// Loads a linked entity cell value using a LinkedEntityId.
async function loadLinkedEntity(domainId: string, entityId: string) {
await Excel.run(async (context) => {
// Specify the linked entity ID to load.
const linkedEntityId: Excel.LinkedEntityId = {
entityId: entityId,
domainId: domainId,
serviceId: 268436224, // Service ID used by Excel to identify linked entity cell values associated with an add-in.
culture: "en-US",
};
// Load the linked entity cell value.
context.workbook.linkedEntityDataDomains.loadLinkedEntityCellValue(linkedEntityId);
await context.sync();
});
}
プロパティ
| culture | この |
| domain |
|
| entity |
|
| service |
|