Redigera

Dela via


AutomationElement.AutomationElementInformation.ProcessId Property

Definition

Gets the process identifier (ID) of this element.

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

Property Value

The ID of the process that hosts the element. The default value for the property is 0.

Remarks

The process identifier (ID) is assigned by the operating system. It can be seen in the PID column of the Processes tab in Task Manager.

For more information, see ProcessIdProperty.

Applies to