IUITechnologyManager.RemoveEventHandler Method
Visual Studio 2010
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.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
bool RemoveEventHandler(
IUITechnologyElement element,
UITestEventType eventType,
IUITestEventNotify eventSink
)
Parameters
- element
- Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
An IUITechnologyElement object.
- eventType
- Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType
A member of the UITestEventType enumeration.
- eventSink
- Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITestEventNotify
An IUITestEventNotify object that represents the registered event sink.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.