Automation.RemoveStructureChangedEventHandler メソッド

定義

指定した構造体変更イベント ハンドラーを削除します。

public:
 static void RemoveStructureChangedEventHandler(System::Windows::Automation::AutomationElement ^ element, System::Windows::Automation::StructureChangedEventHandler ^ eventHandler);
public static void RemoveStructureChangedEventHandler(System.Windows.Automation.AutomationElement element, System.Windows.Automation.StructureChangedEventHandler eventHandler);
static member RemoveStructureChangedEventHandler : System.Windows.Automation.AutomationElement * System.Windows.Automation.StructureChangedEventHandler -> unit
Public Shared Sub RemoveStructureChangedEventHandler (element As AutomationElement, eventHandler As StructureChangedEventHandler)

パラメーター

element
AutomationElement

イベント ハンドラーを削除するUI オートメーション要素。

eventHandler
StructureChangedEventHandler

指定したUI オートメーション要素のAddStructureChangedEventHandler(AutomationElement, TreeScope, StructureChangedEventHandler)に渡されたハンドラー メソッド。

適用対象

こちらもご覧ください