SrgsRuleRef Members

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Represents the grammar element that specifies a reference to a rule.

The SrgsRuleRef type exposes the following members.

Constructors

  NameDescription
Public methodSrgsRuleRef(Uri)Initializes a new instance of the SrgsRuleRef class and specifies the location of the external grammar file to reference.
Public methodSrgsRuleRef(SrgsRule)Initializes a new instance of the SrgsRuleRef class and specifies the rule to reference.
Public methodSrgsRuleRef(Uri, String)Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file and the identifier of the rule to reference.
Public methodSrgsRuleRef(SrgsRule, String)Initializes a new instance of the SrgsRuleRef class, specifying the rule to reference and a string that contains a semantic key.
Public methodSrgsRuleRef(Uri, String, String)Initializes a new instance of the SrgsRuleRef class, specifying the location of the external grammar file, the identifier of the rule, and the string alias of the semantic dictionary.
Top

Properties

  NameDescription
Public propertyParamsGets the initialization parameters for a SrgsRuleRef object.
Public propertySemanticKeyGets an alias string for the semantic dictionary.
Public propertyUriGets the URI for the rule that this SrgsRuleRef object references.
Top

Methods

  NameDescription
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone()()()() (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public methodToString (Inherited from Object.)
Top

Fields

  NameDescription
Public fieldStatic memberDictationDefines a rule that can match spoken input as defined by the dictation topic associated with this grammar.
Public fieldStatic memberGarbageDefines a rule that can match any speech up to the next rule match, the next token, or until the end of spoken input.
Public fieldStatic memberMnemonicSpelling
Public fieldStatic memberNullDefines a rule that is automatically matched in the absence of any audio input.
Public fieldStatic memberVoidDefines a rule that can never be spoken. Inserting VOID into a sequence automatically makes that sequence unspeakable.
Top

See Also