Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

VoiceChangeEventArgs.Voice Property

Gets the VoiceInfo object of the new voice.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public ReadOnly Property Voice As VoiceInfo
    Get
'Usage
Dim instance As VoiceChangeEventArgs
Dim value As VoiceInfo

value = instance.Voice
public VoiceInfo Voice { get; }

Property Value

Type: Microsoft.Speech.Synthesis.VoiceInfo
Returns information that describes and identifies the new voice.

Remarks

The Voice property gets the VoiceInfo object when a VoiceChange event is raised.

See Also

Reference

VoiceChangeEventArgs Class

VoiceChangeEventArgs Members

Microsoft.Speech.Synthesis Namespace