Partager via


HtmlMedia.SetVolume Method

Sets the volume of the media.

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
Public Overridable Sub SetVolume ( _
    volume As Single _
)
public virtual void SetVolume(
    float volume
)
public:
virtual void SetVolume(
    float volume
)
abstract SetVolume : 
        volume:float32 -> unit  
override SetVolume : 
        volume:float32 -> unit
public function SetVolume(
    volume : float
)

Parameters

  • volume
    Type: Single

    Volume to set.

.NET Framework Security

See Also

Reference

HtmlMedia Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace