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