Partager via


UITestMediaEventInfo Class

Represents event arguments for action on media controls.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.UITestMediaEventInfo

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class UITestMediaEventInfo
[SerializableAttribute]
public class UITestMediaEventInfo
[SerializableAttribute]
public ref class UITestMediaEventInfo
[<SerializableAttribute>]
type UITestMediaEventInfo =  class end
public class UITestMediaEventInfo

The UITestMediaEventInfo type exposes the following members.

Constructors

  Name Description
Public method UITestMediaEventInfo() Creates new instance of MediaEventInfo.
Public method UITestMediaEventInfo(MediaActionType, Object) Creates new instance of MediaEventInfo with the event type and event arguments.

Top

Properties

  Name Description
Public property ActionType Gets or sets the media event type.
Public property Value Gets or sets the value.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace