Partager via


HtmlMedia.PropertyNames Class

Contains property names of HtmlMedia.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlMedia.PropertyNames
        Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlVideo.PropertyNames

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class PropertyNames _
    Inherits HtmlControl.PropertyNames
[CLSCompliantAttribute(true)]
public abstract class PropertyNames : HtmlControl.PropertyNames
[CLSCompliantAttribute(true)]
public ref class PropertyNames abstract : public HtmlControl::PropertyNames
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type PropertyNames =  
    class 
        inherit HtmlControl.PropertyNames 
    end
public abstract class PropertyNames extends HtmlControl.PropertyNames

The HtmlMedia.PropertyNames type exposes the following members.

Constructors

  Name Description
Protected method HtmlMedia.PropertyNames

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to the current instance. (Inherited from UITestControl.PropertyNames.)
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 UITestControl.PropertyNames.)
Public method GetType Returns the Type of the control. (Inherited from UITestControl.PropertyNames.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string representation of this instance. (Inherited from UITestControl.PropertyNames.)

Top

Fields

  Name Description
Public fieldStatic member AutoPlay Gets the value of the autoplay attribute of the media. Data-type: System.Boolean
Public fieldStatic member Controls Gets the value of the controls attribute of the media. Data-type: System.Boolean
Public fieldStatic member CurrentSrc Gets the current source of the media. Data-type: System.String
Public fieldStatic member CurrentTime Gets the current time of the media. Data-type: System.TimeSpan
Public fieldStatic member CurrentTimeAsString Gets the current time of the media as a string. Data-type: System.String
Public fieldStatic member Duration Gets the duration of the media. Data-type: System.TimeSpan
Public fieldStatic member DurationAsString Gets the duration of the media as a string. Data-type: string
Public fieldStatic member Ended Gets the ended state of the media. Data-type: System.Boolean
Public fieldStatic member Loop Gets the value of the loop attribute of the media. Data-type: System.Boolean
Public fieldStatic member Muted Gets the muted state of the media. Data-type: System.Boolean
Public fieldStatic member Paused Gets the paused state of the media. Data-type: System.Boolean
Public fieldStatic member PlaybackRate Gets or sets the playback rate of the media. Data-type: float
Public fieldStatic member ReadyState Gets the ready state value of the media. Data-type: int
Public fieldStatic member Seeking Gets the seeking state of the media. Data-type: System.Boolean
Public fieldStatic member Src Gets the value of the src attribute of the media. Can be used for search. Data-type: System.String
Public fieldStatic member Volume Gets the current volume of the media. Data-type: float

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.UITesting.HtmlControls Namespace