Compartir a través de


Settings Property

  Microsoft Speech Technologies Homepage

Gets or sets the ID of a SpeechControlSettingsItem that initializes property values of the control. Read/write.

Usage

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

Remarks

Application authors can create a SpeechControlSettingsItem control for each application modality that requires a different set of Call Management Controls properties. The Settings property specifies the SpeechControlSettingsItem control to be used.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <AnswerCall
          DeviceID="1"
          OnClientConnected="myClientConnected"
          OnClientDelivered="myClientDelivered"
          OnClientFailed="myClientFailed"/>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  </speech:AnswerCall Settings="Settings1" runat="server">
  </speech:AnswerCall>
  ...
</form>

See Also

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