IUITechnologyManager.RemoveEventHandler Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Removes the specified event from the given element and all its descendents.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

bool RemoveEventHandler(
	IUITechnologyElement element,
	UITestEventType eventType,
	IUITestEventNotify eventSink

Return Value

Type: System.Boolean
true if the event was successfully removed; otherwise, false.

Community Additions