VBVFrame Runtime Properties

Channels

(Integer)

This property returns the number of channels available in the system.

CurrentDirectory

(Channel as Integer)String

This is a per-channel property that returns the current voice directory for a channel. If language controls are NOT in use, it always returns the value of VoiceDirectory. If language controls are in use, it returns the directory as set by the language control on the specified channel. This property can be set at design time using the General page.

TransferValue

C#: string TransferValue[string propertyName, int channel]

VB.NET: TransferValue(PropertyName As String, channel as integer) as String

(Supported in .NET only)

This property is a wrapper for the VBVFrame Transfer property. Use it with languages that do not support late binding, such as C# or VB.NET with the Option Strict.

PropertyName is the name of a transfer property set in the Transfer Properties tab of the VBVFrame property page. For example, in C#:

private void OnEntry(object sender, AxVBVoiceLib._DDelayEvents_EnterEvent e)
{
vbvFrame1.TransferValue["myPhoneNumber", e.channel] = "xxx-xxxx";
}

Read more about VBVFrame control.