Partager via


MailEnvelope.Visible Property

Gets or sets the visibility of the e-mail message fields, Send toolbar, and Mail Options task pane.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride Property Visible As Boolean
    Get
    Set
'Usage
Dim instance As MailEnvelope
Dim value As Boolean

value = instance.Visible

instance.Visible = value
public abstract bool Visible { get; set; }

Property Value

Type: System.Boolean
true to display e-mail message fields, Send toolbar, and Mail Options task pane; false if these InfoPath features are not visible.

Remarks

If there is no default e-mail editor configured, the Visible property will raise an error.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See Also

Reference

MailEnvelope Class

MailEnvelope Members

Microsoft.Office.InfoPath Namespace