Count Runtime Properties

Counter

(Channel as Integer) Integer

This property contains the current value of the counter for each channel.

EXAMPLE

VB

Dim MyCount As Short
MyCount = Counter1.Counter(channel)

C#

short myCount
myCount = counter1.Counter[e.channel];

GotoNode

(Integer)

This property will transfer a call to another control. See GotoNode.

This property is used by code in the Enter, Exit, and Disconnect events (as well as other events where specified).

Use it to override control routing defined at design time. Set this property to a valid node number in the control where the event occurs and it routes the call to the control connected to that node. Node numbers start at 0, numbered from the top.

If GotoNode is set to 0, the call is passed to the control connected to the first (top) node. The transfer takes place as soon as the event code is completed.

GotoNode can also be set to one of the ExitNodeConstants (see vbvExitNodeConstants) to invoke the default invalid digit, no digits, help digit, or caller hang-up handlers.

An error is generated if the node number is invalid. If the node is not connected, processing continues, but a VoiceError event is generated when VBVoice attempts to transfer the call, and default error handling ensues.

EXAMPLE:

To transfer to the control connected to the fifth output from the top (node 4), use the following syntax:

GetDigits1.GotoNode(channel) = 4

MaxCount

(Channel as Integer) Integer

This property contains the limit value for each channel and can be set for each channel individually.