Partilhar via


Record Property

  Microsoft Speech Technologies Homepage

Gets or sets a RecordControlSettings control that sets property values of RecordSound controls that reference it. Read/write.

Usage

Get value: RecordControlSettings = SpeechControlSettingsItem.Record;
Set value: SpeechControlSettingsItem.Record = RecordControlSettings;
Data type: RecordControlSettings
Required: No

Remarks

The RecordControlSettings control can set the following properties of the RecordSound control:

The RecoControlSettings control can contain ControlSettings items for the following elements of the Reco control:

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

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