다음을 통해 공유


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:DisconnectCall Settings="..." />
Get value: String = DisconnectCall.Settings;
Set value: DisconnectCall.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">
        ...
        <DisconnectCall 
          OnClientDisconnected="MyClientDisconnected" 
          OnClientFailed="MyClientFailed"/>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:DisconnectCall Settings="Settings1" runat="server">
  </speech:DisconnectCall>
  ...
</form>

See Also

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