StructureChangedEventArgs.GetRuntimeId Method ()

 

Retrieves the UI Automation runtime identifier (ID) of the UI Automation element whose structure changed.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public int[] GetRuntimeId()

Return Value

Type: System.Int32[]

The runtime ID of the UI Automation element whose structure changed.

The return value may be the identifier of the child that was added or removed or, in the case of many children being added, removed, or invalidated, the identifier of the parent. For more information, see StructureChangedEventArgs.

Custom controls might not provide a valid runtime identifier.

.NET Framework
Available since 3.0
Return to top
Show: