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: SingleVolume to set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace