Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
VoiceInfo.Gender Property
Gets the gender of the voice.
Namespace: Microsoft.Speech.Synthesis
Assembly: Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
'Declaration
Public ReadOnly Property Gender As VoiceGender
Get
'Usage
Dim instance As VoiceInfo
Dim value As VoiceGender
value = instance.Gender
public VoiceGender Gender { get; }
Property Value
Type: Microsoft.Speech.Synthesis.VoiceGender
Returns the gender of the voice.
Remarks
The Gender property gets a member of the VoiceGender enumeration that indicates the gender of the voice.