classafFancomSapi::ISpeechGrammarRules

sys::Obj
  afFancom::Collection
    afFancomSapi::ISpeechGrammarRules

Represents a collection of ISpeechGrammarRule objects.

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

@clsid {6FFA3B44-FC2D-40D1-8AFC-32911C7F1AD1}

add

Source

ISpeechGrammarRule? add(Str? ruleName, SpeechRuleAttributes? attributes, Int? ruleId := (Int?)0)

Creates a new grammar rule in an ISpeechGrammarRules collection.

asList

Source

virtual override ISpeechGrammarRule?[] asList()

commit

Source

Void commit()

Compiles the rules in the rule collection.

commitAndSave

Source

Variant commitAndSave(Str? errorText)

Compiles the rules in the rule collection and saves the result.

dynamic

Source

Bool? dynamic { private set }

Determines whether the grammar rules contained in the collection were created as dynamic.

find

Source

virtual override ISpeechGrammarRule? find(|Obj?,Int->Bool callback)

findRule

Source

ISpeechGrammarRule? findRule(Variant? ruleNameOrId)

Returns a grammar rule, specified by Name or by ID.

item

Source

virtual override ISpeechGrammarRule? item(Int index)

makeFromDispatch

Source

new makeFromDispatch(Dispatch dispatch)