Office.ContextInformation interface

Provides information about the environment in which the add-in is running.

Properties

host

Gets the Office application host in which the add-in is running.

platform

Gets the platform on which the add-in is running.

version

Gets the version of Office on which the add-in is running.

Property Details

host

Gets the Office application host in which the add-in is running.

host: Office.HostType;

Property Value

platform

Gets the platform on which the add-in is running.

platform: Office.PlatformType;

Property Value

version

Gets the version of Office on which the add-in is running.

version: string;

Property Value

string