FolderOperationsCollection.Item[Int32] 屬性

定義

取得或設定位於指定索引處的專案。 在 C# 中,這個屬性就是類別的 FolderOperationsCollection 索引器。 在 JScript 中,你可以使用類型定義的預設索引屬性,但無法明確定義自己的屬性。 然而,在類別上指定 expando 屬性會自動提供預設的索引屬性,其型別為 Object ,索引型別為 String

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

參數

index
Int32

要取得或設定之專案之以零起始的索引。

屬性值

位於指定索引的元素。

備註

此特性可透過以下語法存取集合中的特定元素: myCollection[index]

適用於