Condividi tramite


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

See Also

MakeCall Class | MakeCall Constructor | MakeCall Members | MakeCall Properties | MakeCall Methods | MakeCall Events | MakeCall Remarks | MakeCall Client Object