Partilhar via


Answer Property

  Microsoft Speech Technologies Homepage

Gets or sets an AnswerControlSettings control that sets property values of Answer controls that reference it. Read/write.

Usage

Get value: AnswerControlSettings = SpeechControlSettingsItem.Answer;
Set value: SpeechControlSettingsItem.Answer = AnswerControlSettings;
Data type: AnswerControlSettings
Required: No

Remarks

The AnswerControlSettings control can set the following properties of the Answer control:

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <QA>
          <Answers>
            <Answer ConfirmThreshold="0.6" Reject="0.6"/>
          </Answers>
          <ExtraAnswers>
            <Answer ConfirmThreshold="0.6" Reject="0.6"/>
          </ExtraAnswers>
          <Confirms>
            <Answer ConfirmThreshold="0.8" Reject="0.8"/>
          </Confirms>
        </QA>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  </speech:QA Settings="Settings1" runat="server">
    ...
    <Answers>
      <speech:Answer ... ></speech:Answer>
    <Answers>
    <ExtraAnswers>
      <speech:Answer ... ></speech:Answer>
    <ExtraAnswers>
    <Confirms>
      <speech:Answer ... ></speech:Answer>
    <Confirms>
    ...
  </speech:QA>
  ...
</form>

See Also

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