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]。