共用方式為


UITestMediaEventInfo 建構函式 (MediaActionType, Object)

MediaEventInfo 建立新的執行個體與事件型別和事件引數的。

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

語法

'宣告
Public Sub New ( _
    actionType As MediaActionType, _
    value As Object _
)
public UITestMediaEventInfo(
    MediaActionType actionType,
    Object value
)
public:
UITestMediaEventInfo(
    MediaActionType actionType, 
    Object^ value
)
new : 
        actionType:MediaActionType * 
        value:Object -> UITestMediaEventInfo
public function UITestMediaEventInfo(
    actionType : MediaActionType, 
    value : Object
)

參數

  • value
    類型:Object

    動作的值。

.NET Framework 安全性

請參閱

參考

UITestMediaEventInfo 類別

UITestMediaEventInfo 多載

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