classafFancomSapi::SpObjectTokenCategory

sys::Obj
  afFancomSapi::SpObjectTokenCategory

Represents a class of object tokens. Object tokens are associated with specific folders in the Speech configuration database, and these folders are organized into categories, such as Recognizers, AudioInputs and Voices. An SpObjectTokenCategory object represents a single category of object tokens, and provides access to all the tokens within that category.

Applications can derive the category of an initialized SpObjectToken object from its Category property, or they can create a new SpObjectTokenCategory object and use the SetId method to associate it with a particular category.

http://msdn.microsoft.com/en-us/library/ee125584%28v=vs.85%29.aspx

@clsid {A910187F-0C7A-45AC-92CC-59EDAFB77B53}

default_

Source

Str? default_

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.

enumerateTokens

Source

ISpeechObjectTokens? enumerateTokens(Str? requiredAttributes := "", Str? optionalAttributes := "")

Returns a selection of SpObjectToken objects.

getDataKey

Source

ISpeechDataKey? getDataKey(SpeechDataKeyLocation? location := ...)

Returns the data key of the category in the speech configuration database.

id

Source

Str? id { private set }

Returns the name of the object token category.

makeFromDispatch

Source

new makeFromDispatch(Dispatch dispatch)

makeFromProgId

Source

new makeFromProgId()

progId

Source

const static Str progId := "SAPI.SpObjectTokenCategory"

setId

Source

Void setId(Str? id, Bool? createIfNotExist := (Bool?)false)

Sets the ID of the category.