Office.HostType enum
Gibt die Office-Anwendung an, in der das Add-In ausgeführt wird.
Hinweise
Wichtig: In Outlook ist diese Enumeration im Postfachanforderungssatz 1.5 verfügbar.
Beispiele
const contextInfo = Office.context.diagnostics;
const hostType: Office.HostType = contextInfo.host;
console.log("Office application: " + hostType);
Felder
Access | Die Office-Anwendung ist Microsoft Access. |
Excel | Die Office-Anwendung ist Microsoft Excel. |
OneNote | Die Office-Anwendung ist Microsoft OneNote. |
Outlook | Die Office-Anwendung ist Microsoft Outlook. |
PowerPoint | Die Office-Anwendung ist Microsoft PowerPoint. |
Project | Die Office-Anwendung ist Microsoft Project. |
Word | Die Office-Anwendung ist Microsoft Word. |