Excel.Interfaces.QueryCollectionLoadOptions interface

表示工作簿中的查询集合。

属性

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

error

For EACH ITEM in the collection: 获取上次刷新查询时的查询错误消息。

loadedTo

For EACH ITEM in the collection: 获取加载到对象类型的查询。

loadedToDataModel

For EACH ITEM in the collection: 指定查询是否加载到数据模型。

name

对于集合中的每个项目: 获取查询的名称。 查询名称不能包含句点或引号。

refreshDate

对于集合中的每个项目: 获取上次刷新查询的日期和时间。

rowsLoadedCount

For EACH ITEM in the collection: 获取上次刷新查询时加载的行数。 如果上次刷新有错误,则该值将为 -1。

属性详细信息

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

$all?: boolean;

属性值

boolean

error

For EACH ITEM in the collection: 获取上次刷新查询时的查询错误消息。

error?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.14

loadedTo

For EACH ITEM in the collection: 获取加载到对象类型的查询。

loadedTo?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.14

loadedToDataModel

For EACH ITEM in the collection: 指定查询是否加载到数据模型。

loadedToDataModel?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.14

name

对于集合中的每个项目: 获取查询的名称。 查询名称不能包含句点或引号。

name?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.14

refreshDate

对于集合中的每个项目: 获取上次刷新查询的日期和时间。

refreshDate?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.14

rowsLoadedCount

For EACH ITEM in the collection: 获取上次刷新查询时加载的行数。 如果上次刷新有错误,则该值将为 -1。

rowsLoadedCount?: boolean;

属性值

boolean

注解

API 集:ExcelApi 1.14