Description
The GatherDigitsEx method gathering of digits on the specified call. The same as GatherDigits, but it implement in our control. It is Device-Independent.
[Visual Basic]
Function GatherDigitsEx (NumDigits As Long, [TerminationDigits As String] As Boolean
[C#]
Public Function GatherDigitsEx(ByVal NumDigits As Integer, ByVal TerminationDigits As String) As Boolean
Parameters
- NumDigits
- The number of digits to be collected. If NumDigits is 0 , the digit gathering currently in progress on the call is terminated (the same as CancelGatherDigitsEx () method) .
- TerminationDigits
- Specifies a string of termination digits as text characters. If one of the digits in the string is detected, that termination digit is appended to , digit collection is terminated, and the OnGatherDigitsTerminated will be fired.
Return values
- If the method succeeds, return TRUE, otherwise return FALSE.
Remarks
Use GatherDigitsEx(0) to terminate the digit gathering currently in progress on the call.
Another way of canceling digit collection occurs when one of the timeouts expires. The FirstDigitTimeout expires if the first digit is not received in this time period. The InterDigitTimeout expires if the second, third, (and so forth) digit is not received within that time period from the previously detected digit, and a partial digits are returned.
See Also
InterDigitTimeout , FirstDigitTimeout , OnGatherDigitsTerminated, GatherDigitsSupport editions

