SpObjectTokenCategory Default Property (SAPI 5.3)
Microsoft Speech API 5.3
Object: SpObjectTokenCategory
Default Property
The Default property gets and sets the ID of the default token in the category.
The ID of the object is the path to its folder within the Speech configuration database.
Each category of object tokens has a default token, which represents the default resource of that category. The Default property of the voice category, for example, is the ID of the default system voice.
Syntax
Set: | SpObjectTokenCategory.Default = String |
Get: | String = SpObjectTokenCategory.Default |
Parts
- SpObjectTokenCategory
The owning object. - const
Set: A String variable that sets the property.
Get: A String variable that gets the property.
Example
Please see the code example for the SetId method. This code creates a new SpObjectTokenCategory object and associates it with the category of voices. The Default property then returns the ID of the default system voice.