AutomationElement.AutomationElementInformation.ProcessId 屬性

定義

取得這個專案 (識別碼) 的進程識別碼。

public:
 property int ProcessId { int get(); };
public int ProcessId { get; }
member this.ProcessId : int
Public ReadOnly Property ProcessId As Integer

屬性值

裝載專案之進程的識別碼。 屬性的預設值為 0。

備註

作業系統會指派進程識別碼 (識別碼) 。 您可以在工作管理員中 [進程] 索引標籤的PID資料行中看到。

如需詳細資訊,請參閱ProcessIdProperty

適用於