CTI32 Engine Class Library

XmlConfigFile.SelectValueInt Method 

Select the index value from a nested xml structure. For example the port structure. (Integer version) parameter is an integer.

[Visual Basic]
Public Function SelectValueInt( _
   ByVal select As String, _
   ByVal root As String, _
   ByVal index As Integer, _
   ByVal name As String _
) As Integer
[C#]
public int SelectValueInt(
   string select,
   string root,
   int index,
   string name
);

Parameters

select
Descendent name
root
name of root to search
index
which item
name
parameter you are looking for

Return Value

-1 if not found otherwise the integer value

See Also

XmlConfigFile Class | CTI32Engine Namespace