Edit

Share via


FormDescription Interface

Definition

This object, member, or enumeration is deprecated and is not intended to be used in your code.

public interface class FormDescription
[System.Runtime.InteropServices.Guid("00063046-0000-0000-C000-000000000046")]
public interface FormDescription
Public Interface FormDescription
Attributes

Remarks

Represents the general properties of an Outlook form.

The properties of an Outlook form are displayed on the Properties page of a form in design time.

To see the Properties page in design time, open the Outlook item, select Forms on the Tools menu, click Design This Form, and then click the Properties tab in the item's window.

Use the FormDescription property to return the FormDescription object associated with an Outlook item.

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Category

Returns or sets a String (string in C#) representing the category assigned to the form description. Read/write.

CategorySub

Returns or sets a String (string in C#) representing the subcategory assigned to the form description. Read/write.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Comment

Returns or sets a String (string in C#) representing the text of a comment assigned to the form description. Read/write.

ContactName

Returns or sets a String (string in C#) representing the name of the person to contact for information regarding the custom form for this FormDescription object. Read/write.

DisplayName

Returns or sets a String (string in C#) representing the name of the form, which is displayed in the Choose Forms dialog box. Read/write.

Hidden

Returns a Boolean (bool in C#) value that indicates True to cause the specified custom form to be hidden. Read/write.

Icon

Returns or sets a String (string in C#) representing the file name of the icon to be displayed for the form. Read/write.

Locked

Returns a Boolean (bool in C#) value that indicates True if the form cannot be modified. Read/write.

MessageClass

Returns a String (string in C#) representing the message class for the FormDescription object. Read-only.

MiniIcon

Returns or sets a String (string in C#) representing the file name of the mini-icon to be displayed for the form. Read/write.

Name

Returns or sets a String (string in C#) value that represents the display name for a form. Read/write.

Number

Returns or sets a String (string in C#) corresponding to the number for the specified form. Read/write.

OneOff

Returns a Boolean (bool in C#) 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. Read/write.

Parent

Returns the parent Object of the specified object. Read-only.

Password

This object, member, or enumeration is deprecated and is not intended to be used in your code.

ScriptText

Returns a String (string in C#) containing all the VBScript code in the form's Script Editor. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Template

Returns or sets a String (string in C#) indicating the name of the template for the form. Read/write.

UseWordMail

Returns a Boolean (bool in C#) that indicates True to use Microsoft Office Word as the default editor for the form. Read/write.

Version

Returns or sets a String (string in C#) indicating the number of the version. Read/write.

Methods

PublishForm(OlFormRegistry, Object)

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

Applies to