Class PropertyAccessor (Outlook VBA)

Provides the ability to create, get, set, and delete properties on objects.

The classes AddressEntry, AddressList, AppointmentItem, Attachment, ContactItem, DistListItem, DocumentItem, ExchangeDistributionList, ExchangeUser, Folder, JournalItem, MailItem, MeetingItem, NoteItem ... give access to class PropertyAccessorPostItem, Recipient, RemoteItem, ReportItem, SharingItem, StorageItem, Store, TaskItem, TaskRequestAcceptItem, TaskRequestDeclineItem, TaskRequestItem, TaskRequestUpdateItem.

Dim par as PropertyAccessor
Set par = Session.GetAddressEntryFromID.PropertyAccessor

Methods

BinaryToString - Converts the array of bytes specified by Value to a String.

DeleteProperties - Deletes the properties specified in the array SchemaNames.

DeleteProperty - Deletes the property specified by SchemaName.

GetProperties - Obtains the values of the properties specified by the one-dimensional array SchemaNames.

GetProperty - Returns an Object that represents the value of the property specified by SchemaName.

LocalTimeToUTC - Converts a date-time value specified by Value from the local time format to Coordinated Universal Time (UTC) format.

SetProperties - Sets the properties specified by the array SchemaNames to the values specified by the array Values.

SetProperty - Sets the property specified by SchemaName to the value specified by Value.

StringToBinary - Converts a string specified by Value to an array of bytes.

UTCToLocalTime - Converts the date-time value that is specified by Value and expressed in Coordinated Universal Time (UTC) to a value in local time.

Properties

Class returns a constant in the OlObjectClass enumeration indicating the class of the PropertyAccessor object.

Session returns the NameSpace object for the current session.

NameSpace - Represents an abstract root object for any data source.