共用方式為


Ewa Namespace

Applies to: apps for SharePoint | SharePoint Server 2010

The JavaScript object model for Excel Services in Microsoft SharePoint Server 2010 namespace is Ewa. The following table lists the objects and enumerations in the Ewa namespace.

Classes

Table 1. Ewa Classes

Name

Description

Ewa.AsyncResult Object

Contains the result of the asynchronous operation and is passed as the first argument to the specified callback.

Ewa.EwaControl Object

Represents the Excel Services Web Part on the page.

Ewa.EwaControlCollection Object

Represents the collection of the Excel Services Web Part or XLViewer instances on a page.

Ewa.NamedItem Object

Represents a named item.

Ewa.NamedItemCollection Object

Represents the collection of the named items in a workbook.

Ewa.Range Object

Represents a range in a workbook.

Ewa.RangeEventArgs Object

Represents the cell or range event arguments.

Ewa.Sheet Object

Represents a worksheet or chart sheet in a workbook.

Ewa.SheetCollection Object

Represents a collection of sheets in a workbook.

Ewa.Workbook Object

Represents an Excel workbook.

Ewa.WorkbookEventArgs Object

Represents the workbook event arguments.

Enumerations

Table 2. Ewa Enumerations

Name

Description

Ewa.AsyncErrorCode Enumeration

Specifies the error code values.

Ewa.NamedItemType Enumeration

Specifies the type values for a named item.

Ewa.SessionMode Enumeration

Specifies the values for the session mode.

Ewa.SheetType Enumeration

Specifies the type values for the sheet.

Ewa.ValuesFormat Enumeration

Specifies the format of the values that are returned.