Cisco Cisco Computer Telephony Integration Option 8.5 Entwickleranleitung

Seite von 506
   
5-20
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 5      CTI OS ActiveX Controls
CTI OS ActiveX Control Descriptions
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
This is a column index number and an input parameter as type Integer.
Return Value
Return type is String.
GetColumnInfo
Gets the information about the requested column.
Syntax
COM: HRESULT GetColumnInfo([in] short nCol, [out] long *plColType, [out] int *iColWidth, 
[out] int *iColTextAlign, [out] BSTR *bstrColTitle)
VB:
GetColumnInfo(nCol As Short, ByRef plcoltype As Integer, ByRef icolwidth As Integer, 
ByRef bstrcoltitle As String)
.NET: GetColumnInfo(System.Int16 nCol, System.Int32 plcoltype, System.Int32 icolwidth, 
System.String bstrcoltitle)
Parameters
nCol
This is a column index number and an input parameter as type Short.