AceCollection.Item[Int32] プロパティ

定義

指定したインデックス位置にある要素を取得または設定します。 C# では、このプロパティは AceCollection クラスのインデクサーです。

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

パラメーター

index
Int32

取得または設定する要素の 0 から始まるインデックス。

プロパティ値

指定したインデックス位置にある要素。

注釈

JScript では、型によって定義された既定のインデックス付きプロパティを使用できますが、独自のプロパティを明示的に定義することはできません。 しかし、クラスに expando 属性を指定すると、型が Object 、インデックス型が Stringのデフォルトインデックスプロパティが自動的に提供されます。

このプロパティは、以下の構文を用いてコレクション内の特定の要素へのアクセスを提供します: myCollection[index]

適用対象