语言

ResourceOperationsCollection.Item[Int32] 属性

定义

获取或设置指定索引处的元素。 在 C# 中,此属性是类的 ResourceOperationsCollection 索引器。

public:
 property Microsoft::ReportingServices::Interfaces::ResourceOperation default[int] { Microsoft::ReportingServices::Interfaces::ResourceOperation get(int index); };
public Microsoft.ReportingServices.Interfaces.ResourceOperation this[int index] { get; }
member this.Item(int) : Microsoft.ReportingServices.Interfaces.ResourceOperation
Default Public ReadOnly Property Item(index As Integer) As ResourceOperation

参数

index
Int32

要获取或设置的元素的从零开始的索引。

属性值

指定索引处的元素。

注解

在 JScript 中,可以使用类型定义的默认索引属性,但不能显式定义自己的属性。 然而,在类上指定 expando 属性会自动提供一个默认的索引属性,其类型为 Object ,索引类型为 String。

此属性提供使用以下语法访问集合中的特定元素的功能: myCollection[index]

适用于