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.

See Also

Reference

VoiceInfo Class

VoiceInfo Members

Microsoft.Speech.Synthesis Namespace

VoiceGender