Indy 9 | Content | Index | Reference

TIdCardPhoneNumber
Hierarchy, Properties, Methods, See Also, Unit: IdVCard
Encapsulates a VCard telphone number.

    TIdCardPhoneNumber = class(TCollectionItem)

Unit
IdVCard
Description
TIdCardPhoneNumber encapsulates a VCard telephone number in the TIdVCard component.

TIdCardPhoneNumber.Number
TIdCardPhoneNumber
Respresents the contents for the VCard telephone number.

    property Number: String;

Description
Number respresents the contents for the VCard telephone number.

TIdCardPhoneNumber.PhoneAttributes
TIdCardPhoneNumber
Describes a VCard telephone number.

    property PhoneAttributes: TIdPhoneAttributes;

Description
PhoneAttributes describes a VCard telephone number and can include the following values:

- tpaHome - home telephone number

- tpaVoiceMessaging - voice messaging is available

- tpaWork - work telephone number

- tpaPreferred - preferred telephone number

- tpaVoice - voice telephone number

- tpaFax - facsimile telephone number

- tpaCellular - cellular telephone number

- tpaVideo - video-phone number

- tpaBBS - Bulletin Board System

- tpaModem - Modem telephone number

- tpaCar - Car telephone

- tpaISDN - ISDN telephone number

- tpaPCS - personal communication services telephone number

- tpaPager - pager telephone number

TIdCardPhoneNumber.Assign
TIdCardPhoneNumber
Copy the property values of an object.

    procedure Assign(Source: TPersistent); override;

Parameters
Source: TPersistent
Object containing values to be copied.
Description
Assign is a procedure used to copy the properties of the persistent object in Source to the current object instance. When the current object and the object in Source are the same ClassType, Assign will copy the following property values:

- Phone

- PhoneAttributes

- Number

When the current object and Source do not sahre the same ClassType, Assign calls the inherited Assign method.

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