次の方法で共有


ProcessThreadCollection.Item プロパティ

一連のプロセス スレッドを反復処理するためのインデックスを提供します。

名前空間: System.Diagnostics
アセンブリ: System (system.dll 内)

構文

'宣言
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ProcessThread
'使用
Dim instance As ProcessThreadCollection
Dim index As Integer
Dim value As ProcessThread

value = instance(index)
public ProcessThread this [
    int index
] { get; }
public:
property ProcessThread^ default [int] {
    ProcessThread^ get (int index);
}
/** @property */
public ProcessThread get_Item (int index)
JScript では、インデックス付きのプロパティは使用できますが、新規に宣言することはできません。.

パラメータ

  • index
    コレクション内のスレッドの 0 から始まるインデックス値。

プロパティ値

コレクション内のスレッドにインデックスを作成する ProcessThread

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

ProcessThreadCollection クラス
ProcessThreadCollection メンバ
System.Diagnostics 名前空間