The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyManagerProxy::RemoveEventHandler Method (IUITechnologyElement^, UITestEventType, IUITestEventNotify^)
Removes an event handler.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: virtual bool RemoveEventHandler( IUITechnologyElement^ element, UITestEventType eventType, IUITestEventNotify^ eventSink ) override
Parameters
- element
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^
The element and its descendants for which this event should be removed.
- eventType
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::UITestEventType
The type of event to listen to.
- eventSink
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::IUITestEventNotify^
The event sink interface that was registered.
Return Value
Type: System::BooleanTrue if the eventType is supported and remove is successful, false otherwise.
Show: