CatalogOperationsCollection.Item[Int32] 属性

定义

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

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

参数

index
Int32

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

属性值

CatalogOperation

指定索引处的元素。

注解

在 JScript 中,您可以使用某个类型定义的默认索引属性,但不能显式定义自己的属性。 但是,在类上指定 expando 特性将自动提供其类型为 Object 、索引类型为 String 的默认索引属性。

通过此属性,可以使用以下语法来访问集合中的特定元素:myCollection[index]

适用于