Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: cntfldst.h
Link against: cntmodel.lib

Class CContactAgentField

CContactAgentField

Support

Supported from 5.0

Description

Storage for an agent ID. An agent is a field in a contact item which contains another person's contact details. It corresponds to the agent property in the vCard specification (version 2.1). The agent is identified by an agent ID (a TContactItemId).

An object of this class can be retrieved using CContactItemField::AgentStorage().

Derivation

CBaseBase class for all classes to be instantiated on the heap
CContactAgentFieldStorage for an agent ID
CContactFieldStorageAbstract base class for the different types of contact field data storage

Defined in CContactAgentField:
SetAgentId(), Value()

Inherited from CBase:
operator new()

Inherited from CContactFieldStorage:
ExternalizeL(), InternalizeL(), IsFull(), RestoreL(), StoreL()


Agent ID


SetAgentId()

void SetAgentId(TContactItemId aId);

Description

Sets the agent ID.

Parameters

TContactItemId aId

The agent ID.


Value()

TContactItemId Value() const;

Description

Retrieves the agent ID.

Return value

TContactItemId

The agent ID.