Indy 9 | Content | Index | Reference

TIdVCardEMailItem
Hierarchy, Properties, Methods, See Also, Unit: IdVCard
encapsulates a VCard E-Mail address.

    TIdVCardEMailItem = class(TCollectionItem)

Unit
IdVCard
Description
The TIdVCardEMailItem object encapsulates a VCard owner's E-Mail address in the TIdVCard component.

TIdVCardEMailItem.Address
TIdVCardEMailItem
Contents of the E-Mail address.

    property Address: String;

Description
Address is the contents of the E-Mail address.

TIdVCardEMailItem.EMailType
TIdVCardEMailItem
Identifies the type of E-Mail address.

    property EMailType: TIdVCardEMailType;

Description
EMailType identifies the type of E-Mail address, and can contain one of the following values:

- ematAOL - America On-Line

- ematAppleLink - AppleLink

- ematATT - AT&T Mail

- ematCIS - CompuServe Information Service

- emateWorld - eWorld

- ematInternet -Internet SMTP

- ematIBMMail - IBM Mail

- ematMCIMail - MCI Mail

- ematPowerShare - PowerShare

- ematProdigy - Prodigy Information Service

- ematTelex - Telex number

- ematX400 - X.400 service

TIdVCardEMailItem.Preferred
TIdVCardEMailItem
Indicates the person's preferred E-Mail address.

    property Preferred: Boolean;

Description
Preferred is an indicator that is True if this is the person's preferred E-Mail address.

TIdVCardEMailItem.Assign
TIdVCardEMailItem
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:

- EMailType

- Preferred

- Address

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

TIdVCardEMailItem.Create
TIdVCardEMailItem
Constructor for the collection item.

    constructor Create(Collection: TCollection); override;

Parameters
Collection: TCollection
Collection that owns the collection item.
Description
Create is the constructor for the collection item. Create relies on the inherited Create method, and initializes the EmailType property to the value ematInternet.

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