次の方法で共有


SearchResultCollection.CopyTo メソッド

このコレクションから配列に SearchResult オブジェクトをコピーします。配列の特定のインデックスをコピーの開始位置とします。

Public Sub CopyTo( _
   ByVal results() As SearchResult, _   ByVal index As Integer _)
[C#]
public void CopyTo(SearchResult[] results,intindex);
[C++]
public: void CopyTo(SearchResult* results[],intindex);
[JScript]
public function CopyTo(
   results : SearchResult[],index : int);

パラメータ

  • results
    このコレクションのオブジェクトを受け取る SearchResult 型の配列。
  • index
    オブジェクトのコピーを開始する配列内の 0 から始まるインデックス番号。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

SearchResultCollection クラス | SearchResultCollection メンバ | System.DirectoryServices 名前空間