Table of contents
TOC
折叠目录
展开目录

DataRecordsets.Item 属性 (Visio)DataRecordsets.Item Property (Visio)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回的DataRecordsets集合中的指定的索引位置处的数据记录集对象。只读的。Returns the DataRecordset object at the specified index position in the DataRecordsets collection. Read-only.

请注意 此 Visio 对象或成员是仅供授权用户的 Visio 专业 2013年。Note This Visio object or member is available only to licensed users of Visio Professional 2013.

语法Syntax

表达式项目索引expression . Item( Index )

表达式_一个表示DataRecordsets对象的变量。_expression A variable that represents a DataRecordsets object.

参数Parameters

名称Name必需/可选Required/Optional数据类型Data Type说明Description
IndexIndex必需RequiredLongLong要检索的对象的索引。The index of the object to retrieve.

返回值Return Value

数据记录集DataRecordset

注解Remarks

DataRecordsets集合的默认属性。Item is the default property of the DataRecordsets collection.

当从集合中检索对象时,您可以省略表达式中的Item ,因为它是所有集合的默认属性。下面的语句等效于上面给出的语法示例:When you retrieve objects from a collection, you can omit Item from the expression because it is the default property of all collections. The following statement is equivalent to the syntax example given above:

objectReturned = expression(Index)

DataRecordsets集合从 1 开始的索引。The DataRecordsets collection is indexed starting with 1.

© 2018 Microsoft