Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
![]() |
Gets or sets the lower boundary of acceptable numbers. Read/write.
Usage
| ASP.NET markup: | <speech:NaturalNumber LowerBound="..." /> |
| Get value: | Int = NaturalNumber.LowerBound; |
| Set value: | NaturalNumber.LowerBound = Int; |
| Data type: | Int |
| Required: | No; Default: 0 |
Remarks
Numbers that are lower than the LowerBound property are rejected.
LowerBound must be equal to or greater than zero and must be less than the value of the UpperBound property.
The control throws an ArgumentOutOfRangeException if LowerBound is less than zero or equal to or greater than UpperBound.
Example
<form id="Form1" method="post" runat="server">
...
<speech:NaturalNumber
id="NaturalNumber1"
QuestionPrompt="combiens de personnes sont avec vous?"
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
NaturalNumber Class | NaturalNumber Constructor | NaturalNumber Members | NaturalNumber Properties | NaturalNumber Methods | NaturalNumber Events | NaturalNumber Remarks | NaturalNumber Client Object
.jpg)