Edit

Share via


FormDescription.PublishForm(OlFormRegistry, Object) Method

Definition

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

public void PublishForm (Microsoft.Office.Interop.Outlook.OlFormRegistry Registry, object Folder);
Public Sub PublishForm (Registry As OlFormRegistry, Optional Folder As Object)

Parameters

Registry
OlFormRegistry

The form class.

Folder
Object

Expression that returns a Folder object. Used only with Folder form registry. The folder object from which the forms must be accessed.

Remarks

Note: The Name property must be set before you can use the PublishForm method.

Forms are registered as one of three classes: Folder, Organization, or Personal. The Folder form registry holds a set of forms that are only accessible from that specific folder, whether public or private. The Organization form registry holds forms that are shared across an entire enterprise and are accessible to everyone. The Personal form registry holds forms that are accessible only to the current store user.

Applies to