![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Gets the gender of the voice.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public ReadOnly Property Gender As VoiceGender Get |
Visual Basic (Usage) |
---|
Dim instance As VoiceInfo Dim value As VoiceGender value = instance.Gender |
C# |
---|
public VoiceGender Gender { get; } |
Remarks
The Gender property gets a member of the VoiceGender enumeration that indicates the gender of the voice.