Share via


HtmlMedia.Duration Property

Gets the duration of the media.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Duration As TimeSpan
public virtual TimeSpan Duration { get; }
public:
virtual property TimeSpan Duration {
    TimeSpan get ();
}
abstract Duration : TimeSpan with get 
override Duration : TimeSpan with get
function get Duration () : TimeSpan

Property Value

Type: TimeSpan
Returns TimeSpan.

.NET Framework Security

See Also

Reference

HtmlMedia Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace