ItemProperties.Add Method

Outlook Developer Reference

Adds an ItemProperty object to the ItemProperties collection.

Syntax

expression.Add(Name, Type, AddToFolderFields, DisplayFormat)

expression   A variable that represents an ItemProperties object.

Parameters

Name Required/Optional Data Type Description
Name Required String The name of the new item property object.
Type Required OlUserPropertyType The type of the new ItemProperty.
AddToFolderFields Optional Variant Determines if the item property will be added to the folder fields.
DisplayFormat Optional Variant Defines the format of the field as it appears in a given folder.

See Also