Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AutomationElement.AutomationElementInformation.ProcessId Property
Definition
- Namespace:
- System.Windows.Automation
- Assembly:
- UIAutomationClient.dll
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
