Partilhar via


Enabled Property

  Microsoft Speech Technologies Homepage

Gets or sets whether sound recording is enabled. Read/write.

Usage

ASP.NET markup: <speech:RecordControlSettings Enabled="..." />
Get value: System.Boolean = RecordControlSettings.Enabled;
Set value: RecordControlSettings.Enabled = System.Boolean;
Data type: System.Boolean
Required: No; Default: False

Remarks

For more information about the Enabled property of the Record control, see Enabled.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <QA ... >
          ...
          <Reco Record="True" >
            <Params>
              <Param ... />
            <Params>
            <Grammar ... />

            <Record Enabled="True" Type="audio/x-wav" />

          </Reco>
          ...
        </QA>
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:QA Settings="Settings1" runat="server">
    <speech:Reco ... />
  </speech:QA>
  ...
</form>

See Also

RecordControlSettings Class | RecordControlSettings Constructor | RecordControlSettings Members | RecordControlSettings Properties | RecordControlSettings Methods