Partilhar via


BaseValidator Property

  Microsoft Speech Technologies Homepage

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

Usage

Get value: BaseValidatorControlSettings = SpeechControlSettingsItem.BaseValidator;
Set value: SpeechControlSettingsItem.BaseValidator = BaseValidatorControlSettings;
Data type: BaseValidatorControlSettings
Required: No

Remarks

The BaseValidatorControlSettings control can set the following properties of the BaseValidator control:

The BaseValidatorControlSettings control can contain ControlSettings items for the following elements of the BaseValidator control:

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:SpeechControlSettings ID="AllSettings" runat="server">
    <Items>
      <speech:SpeechControlSettingsItem ID="Settings1" runat="server">
        ...
        <BaseValidator ValidationEvent="onchanged">
          <Prompt ... >
          </Prompt>
        </BaseValidator
        ...
      </speech:SpeechControlSettingsItem>
    </Items>
  </speech:SpeechControlSettings>
  ...
  <speech:BaseValidator Settings="Settings1" runat="server">
    <!-- BaseValidator contents --!>
  </speech:BaseValidator>
  ...
</form>

See Also

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