AceCollection.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置指定索引处的元素。 在 C# 中,此属性是 AceCollection 类的索引器。
public:
property Microsoft::ReportingServices::Interfaces::AceStruct ^ default[int] { Microsoft::ReportingServices::Interfaces::AceStruct ^ get(int index); };
public Microsoft.ReportingServices.Interfaces.AceStruct this[int index] { get; }
member this.Item(int) : Microsoft.ReportingServices.Interfaces.AceStruct
Default Public ReadOnly Property Item(index As Integer) As AceStruct
参数
- index
- Int32
要获取或设置的元素的从零开始的索引。
属性值
指定索引处的元素。
注解
在 JScript 中,您可以使用某个类型定义的默认索引属性,但不能显式定义自己的属性。 但是,在类上指定 expando 属性会自动提供其类型为 Object
和索引类型 String
的默认索引属性。
此属性使用以下语法提供对集合中特定元素的访问: myCollection[index]