Type Property

See Also         Example         Applies To

Returns or sets the type of the object, as shown in the following table.

Object Type
AddressEntry The type of entry for this address such as an Internet Address, MacMail Address, or Microsoft Mail Address.

Read/write String.

Attachment Can be one of the following OlAttachmentType constants: olByReference(4), olByValue(1), olEmbeddedItem(5), or olOLE(6).

Read-only Long.

JournalItem A free-form string field, usually containing the display name of the journalizing application (for example, "MSWord").

Read/write String.

Link The type of item represented by the Link object.

Read-only Long.

NameSpace The only supported type is "MAPI."

Read-only String.

Recipient (of JournalItem) The OlJournalRecipientType constant: olAssociatedContact(1).

Read/write Long.

Recipient (of MailItem) Can be one of the following OlMailRecipientType constants: olBCC(3), olCC(2), olOriginator(0), or olTo(1).

Read/write Long.

Recipient (of MeetingItem) Can be one of the following OlMeetingRecipientType constants: olOptional(2), olOrganizer(0), olRequired(1), or olResource(3).

Read/write Long.

Recipient (of TaskItem) Can be either of the following OlTaskRecipientType constants: olFinalStatus(3), or olUpdate(2).

Read/write Long.

UserProperty Can be one of the following OlUserPropertyType constants: olCombination(19), olCurrency(14), olDateTime(5), olDuration(7), olFormula(18), olKeywords(11), olNumber(3), olPercent(12), olText(1), or olYesNo(6).

Read-only Long.