Compartir a través de


BargeIn Property for French (Canada)

  Microsoft Speech Technologies Homepage

Gets or sets the BargeIn property of QA controls that are created by the control. Read/write.

Usage

ASP.NET markup: <speech:ApplicationControl BargeIn="..." />
Get value: Boolean = ApplicationControl.BargeIn;
Set value: ApplicationControl.BargeIn = Boolean;
Data type: System.Boolean
Required: No; Default: True

Remarks

See QA.DialogPrompt.BargeIn.

Example

The following example demonstrates a BargeIn property that is used in a NaturalNumber Application Speech Control:

<form id="Form1" method="post" runat="server">
  ...
  <speech:NaturalNumber 
    id="NaturalNumber1"
    QuestionPrompt="combiens de personnes sont avec vous?" 
    BargeIn="False"
    LowerBound="1"
    UpperBound="99"
    SemanticItem="SemanticItem1" 
    ConfirmRejectThreshold="0.2"
    FirstInitialTimeout="2500"
    runat="server">
  </speech:NaturalNumber>

  <speech:SemanticMap id="SemanticMap1" runat="server">
    <speech:SemanticItem runat="server" TargetAttribute="value" ID="SemanticItem1"     
      TargetElement="TextBox1">
    </speech:SemanticItem>
  </speech:SemanticMap>

  <asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
  ...
</form>

See Also

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