StructureChangedEventHandler Delegate
Definition
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.
Represents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.
public delegate void StructureChangedEventHandler(System::Object ^ sender, StructureChangedEventArgs ^ e);
public delegate void StructureChangedEventHandler(object sender, StructureChangedEventArgs e);
type StructureChangedEventHandler = delegate of obj * StructureChangedEventArgs -> unit
Public Delegate Sub StructureChangedEventHandler(sender As Object, e As StructureChangedEventArgs)
Parameters
- sender
- Object
The object that raised the event.
Information about the event.
Remarks
The following table describes the information in the event received by the delegate for different structure changes.
e.structureChangeType |
sender |
e.runtimeId |
---|---|---|
ChildAdded | The child that was added. | The child that was added. |
ChildRemoved | The parent of the child that was removed. | The child that was removed. |
ChildrenBulkAdded | The parent of the children that were added. | The parent of the children that were added. |
ChildrenBulkRemoved | The parent of the children that were removed. | The parent of the children that were removed. |
ChildrenInvalidated | The parent of the children that were invalidated. | The parent of the children that were invalidated |
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應