Share via


ProcessModuleCollection.IndexOf(ProcessModule) 方法

定義

提供集合內指定模組的位置。

public:
 int IndexOf(System::Diagnostics::ProcessModule ^ module);
public int IndexOf (System.Diagnostics.ProcessModule module);
member this.IndexOf : System.Diagnostics.ProcessModule -> int
Public Function IndexOf (module As ProcessModule) As Integer

參數

module
ProcessModule

ProcessModule,其索引已獲擷取。

傳回

以零為起始的索引定義 ProcessModuleCollection 內的模組位置。

適用於