Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public MustOverride Function RemoveEventHandler ( _
element As IUITechnologyElement, _
eventType As UITestEventType, _
eventSink As IUITestEventNotify _
) As Boolean
public abstract bool RemoveEventHandler(
IUITechnologyElement element,
UITestEventType eventType,
IUITestEventNotify eventSink
)
public:
virtual bool RemoveEventHandler(
IUITechnologyElement^ element,
UITestEventType eventType,
IUITestEventNotify^ eventSink
) abstract
abstract RemoveEventHandler :
element:IUITechnologyElement *
eventType:UITestEventType *
eventSink:IUITestEventNotify -> bool
public abstract function RemoveEventHandler(
element : IUITechnologyElement,
eventType : UITestEventType,
eventSink : IUITestEventNotify
) : boolean
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.
Return Value
Type: System.Boolean
true if the event was successfully removed; otherwise, false.
Implements
IUITechnologyManager.RemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)
.NET Framework Security
- 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.