ZelloWork Client SDK  2.51
Public Member Functions | Properties | List of all members
IContacts Interface Reference

Inherits IDispatch.

Public Member Functions

HRESULT Find ([in] BSTR bstrContact, [out, retval] IContact **ppContact)
 

Properties

int Count [get]
 
IContact Item ([in] int iIndex) [get]
 

Detailed Description

IContacts interface allows to manage contact list.

Member Function Documentation

§ Find()

HRESULT Find ( [in] BSTR  bstrContact,
[out, retval] IContact **  ppContact 
)

Find contact by ID or name. It's recommended to always use contact ID. Groups and channels are not included in search when name is used. If result represents a group or channel, it can be queried for IGroup or IChannel.

Parameters
bstrContactContact ID or name.
ppContactReturn value. NULL is returned if contact with given ID or name doesn't exist.

Property Documentation

§ Count

int Count
getproperty

Get number of contacts in list.

Parameters
piValReturn value.

§ Item

IContact Item([in] int iIndex)
getproperty

Get contact by index. If result represents a group or a channel, it can be queried for IGroup or IChannel.

Parameters
iIndexContact index.
ppContactReturn value.