Partilhar via


Command Property

  Microsoft Speech Technologies Homepage

Gets or sets a CommandControlSettings control that sets property values of Command controls that reference it. Read/write.

Usage

Get value: CommandControlSettings = SpeechControlSettingsItem.Command;
Set value: SpeechControlSettingsItem.Command = CommandControlSettings;
Data type: CommandControlSettings
Required: No

Remarks

The CommandControlSettings control can set the following properties of the Command control:

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <Command Scope="Form1" AcceptCommandThreshold="0.6" >
          <Prompt ... />
          <Grammar ... />
          <DtmfGrammar ... />
        </Command>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:Command Settings="Settings1" runat="server">
    <!-- Command contents --!>
  </speech:Command>
  ...
</form>

See Also

SpeechControlSettingsItem Class | SpeechControlSettingsItem Constructor | SpeechControlSettingsItem Members | SpeechControlSettingsItem Properties | SpeechControlSettingsItem Methods | SpeechControlSettingsItem Events | SpeechControlSettingsItem Remarks