Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 508
   
5-15
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 5      CTI OS ActiveX Controls
CTI OS ActiveX Control Descriptions
Methods
Table 5-4
Available Methods for AgentSelectCtl
get_UserDefinedCell
If the column type is user defined, gets the text from the requested cell.
Syntax
COM: HRESULT UserDefinedCell(short nIndex, [out, retval] BSTR *pVal)
VB:
get_UserDefinedCell(nIndex As Short) As String
.NET: System.String get_UserDefinedCell(System.Int16 nIndex)
Parameters
nIndex
This is a cell index number and an input parameter as type Short.
Return Value
Return type is String.
If the requested cell is not user defined type, it throws an Invalid Argument error.
GetCellText
Gets the text from the requested cell in requested row.
Syntax
COM: HRESULT GetCellText([in] int nRow, [in] int nCol, [out,retval] BSTR* bstrContent)
VB:
GetCellText(nRow As Integer, nCol As Integer) As String
.NET: System.String   GetCellText(System.Int16 nRow, System.Int16 nCol)
Parameters
nRow
This is a row index number and an input parameter as type Integer.
nCol
Method
Description
get_UserDefinedCell
If the column type is user defined, gets the text from the requested cell.
GetCellText
Gets the text from the requested cell in requested row.
GetColumnInfo
Gets the information about the requested column.
GetSelectedRow
Gets the selected row index.
SelectRow
Sets the requested row as selected.
set_ColumnHeader
Sets the column header of requested column with given text.
set_ColumnType
Sets the column type of requested column with given value.
set_ColumnWidth
Sets the column width of requested column with given value.
set_ UserDefinedCell
Sets the given text into the requested cell.
SetColumnInfo
Sets the given information for the requested column.