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]

適用於