Condividi tramite


FormDescription.PublishForm Method

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub PublishForm ( _
    Registry As OlFormRegistry, _
    Folder As Object _
)
'Usage
Dim instance As FormDescription
Dim Registry As OlFormRegistry
Dim Folder As Object

instance.PublishForm(Registry, Folder)
[DispIdAttribute()]
void PublishForm(
    OlFormRegistry Registry,
    Object Folder
)

Parameters

  • Folder
    Type: System.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.

See Also

Reference

FormDescription Interface

FormDescription Members

Microsoft.Office.Interop.Outlook Namespace