SearchResultCollection.Item[Int32] プロパティ

定義

このコレクションの指定したインデックスにある SearchResult オブジェクトを取得します。

public:
 property System::DirectoryServices::SearchResult ^ default[int] { System::DirectoryServices::SearchResult ^ get(int index); };
public System.DirectoryServices.SearchResult this[int index] { get; }
member this.Item(int) : System.DirectoryServices.SearchResult
Default Public ReadOnly Property Item(index As Integer) As SearchResult

パラメーター

index
Int32

取得する SearchResult オブジェクトの 0 から始まるインデックスです。

プロパティ値

指定したインデックスにある SearchResult オブジェクト。

注釈

C# では、このプロパティは SearchResultCollection クラスのインデクサーです。

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

適用対象