Indy 9 | Content | Index | Reference

TIdVCardTelephones
Hierarchy, Properties, Methods, See Also, Unit: IdVCard
Encapsulates a VCard telephone number collection.

    TIdVCardTelephones = class(TOwnedCollection)

Unit
IdVCard
Description
The TIdVCardTelephones collection contains TIdCardPhoneNumber objects encapsulating telephone numbers for a VCard owner.

TIdVCardTelephones.Items
TIdVCardTelephones
Allows access to a TIdCardPhoneNumber in the collection.

    property Items [ Index: Integer ]: TIdCardPhoneNumber;

Description
Items is a property that allows access to an individual TIdCardPhoneNumber in the TIdVCardTelephones collection.

TIdVCardTelephones.Add
TIdVCardTelephones
Adds a new TIdCardPhoneNumber to the collection.

    function Add: TIdCardPhoneNumber;

Description
Add is a function that returns a new TIdCardPhoneNumber which is added to the TIdVCardTelephones collection.

TIdVCardTelephones.Create
TIdVCardTelephones
Constructor for the collection instance.

    constructor Create(AOwner: TPersistent); reintroduce;

Parameters
AOwner: TPersistent
Owner of the collection.
Description
Create is the constructor for the collection instance, and relies on the inherited Create method to set the Owner and ClassType for the collection.

ClassType is initialized to TIdCardPhoneNumber.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.