Partilhar via


Src Property for French (Canada)

  Microsoft Speech Technologies Homepage

Gets or sets the name of a grammar that contains the rule. Read/write.

Usage

ASP.NET markup: <speech:CommandRule Src="..." />
Get value: String = CommandRule.Src;
Set value: CommandRule.Src = String;
Data type: String
Required: No

Remarks

If a grammar is not specified in the Src property, the rule must be defined in the default grammar of the application.

Example

In the following example code, the Src property is used with the Type property to make Back a synonym for the Read CommandRule control.

<DataTableNavigator ... >
  ...
  <CommandRules>
    <speech:CommandRule Type="Previous" Src="Grammars/back.grxml" />
  </CommandRules>
  ...
</DataTableNavigator>

See Also

CommandRule Class | CommandRule Constructor | CommandRule Members | CommandRule Properties | CommandRule Methods | CommandRule Remarks