Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SpObjectTokenCategory Default Property (SAPI 5.3)

Speech API 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.