Share via


AllowDtmf Property for French (Canada)

  Microsoft Speech Technologies Homepage

Gets or sets whether the control allows dual tone multi-frequency (DTMF) input. Read/write.

Usage

ASP.NET markup: <speech:IDtmf AllowDtmf="..." />
Get value: System.Boolean = IDtmf.AllowDtmf;
Set value: IDtmf.AllowDtmf = System.Boolean;
Data type: System.Boolean
Required: No

Remarks

Application authors can use the AllowDtmf property to enable and disable DTMF support in controls that implement the IDtmf interface.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:date 
    id="Date1" 
    QuestionPrompt="quand est-ce que vous aimeriez voyager?" 
    DateContext="Future"
    AllowHolidays="True"
    AllowNumeralDates="True"
    AllowRelativeDates="True"
    DaySemanticItem="DaySemItem" 
    MonthSemanticItem="MonthSemItem"
    YearSemanticItem="YearSemItem" 
    ConfirmThreshold="0.6" 
    AllowDTMF="True"
    InterDigitTimeout="5000"
    runat="server">
  </speech:date>

  <asp:textbox id="tbDay" runat="server"></asp:textbox>
  <asp:TextBox id="tbMonth" runat="server"></asp:TextBox>
  <asp:TextBox id="tbYear" runat="server"></asp:TextBox>
  ...
</form>

See Also

IDtmf Interface | IDtmf Members | IDtmf Properties