共用方式為


IUITestEventNotify.Notify 方法

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
Sub Notify ( _
    source As IUITechnologyElement, _
    target As IUITechnologyElement, _
    eventType As UITestEventType, _
    eventArgs As Object _
)
void Notify(
    IUITechnologyElement source,
    IUITechnologyElement target,
    UITestEventType eventType,
    Object eventArgs
)
void Notify(
    IUITechnologyElement^ source, 
    IUITechnologyElement^ target, 
    UITestEventType eventType, 
    Object^ eventArgs
)
abstract Notify : 
        source:IUITechnologyElement * 
        target:IUITechnologyElement * 
        eventType:UITestEventType * 
        eventArgs:Object -> unit 
function Notify(
    source : IUITechnologyElement, 
    target : IUITechnologyElement, 
    eventType : UITestEventType, 
    eventArgs : Object
)

參數

.NET Framework 安全性

請參閱

參考

IUITestEventNotify 介面

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空間

IUITechnologyElement

UITestEventType