Information
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.

IUITechnologyManager::AddEventHandler Method (IUITechnologyElement^, UITestEventType, IUITestEventNotify^)

 

Adds an event handler.

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

[DispIdAttribute(12)]
bool AddEventHandler(
	IUITechnologyElement^ element,
	UITestEventType eventType,
	IUITestEventNotify^ eventSink
)

Return Value

Type: System::Boolean

true if the event type is supported and is successfully added; otherwise, false.

Return to top
Show: