Class FormDescription (Outlook VBA)

The class FormDescription represents the general properties of an Outlook form.

The classes AppointmentItem, ContactItem, DistListItem, DocumentItem, JournalItem, MailItem, MeetingItem, PostItem, RemoteItem, ReportItem, SharingItem, TaskItem, TaskRequestAcceptItem, TaskRequestDeclineItem ... give access to class FormDescriptionTaskRequestItem, TaskRequestUpdateItem.

Dim fdn as FormDescription
Set fdn = Session.CreateSharingItem.FormDescription

Methods

PublishForm - Saves the definition of the FormDescription object in the specified form registry (library).

Properties

Category returns or sets a String representing the category assigned to the form description.

CategorySub returns or sets a String representing the subcategory assigned to the form description.

Class returns an OlObjectClass constant indicating the object's class.

Comment returns or sets a String representing the text of a comment assigned to the form description.

ContactName returns or sets a String representing the name of the person to contact for information regarding the custom form for this FormDescription object.

DisplayName returns or sets a String representing the name of the form, which is displayed in the Choose Forms dialog box.

Hidden returns a Boolean value that indicates True to cause the specified custom form to be hidden.

Icon returns or sets a String representing the file name of the icon to be displayed for the form.

Locked returns a Boolean value that indicates True if the form cannot be modified.

MessageClass returns a String representing the message class for the FormDescription object.

MiniIcon returns or sets a String representing the file name of the mini-icon to be displayed for the form.

Name returns or sets a String value that represents the display name for a form.

Number returns or sets a String corresponding to the number for the specified form.

OneOff returns a Boolean value that indicates True if the form will be discarded after using once (one-off), and False if the form is retained as a custom form.

ScriptText returns a String containing all the VBScript code in the form's Script Editor.

Session returns the NameSpace object for the current session.

Template returns or sets a String indicating the name of the template for the form.

UseWordMail returns a Boolean that indicates True to use Microsoft Office Word as the default editor for the form.

Version returns or sets a String indicating the number of the version.

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