Partager via


EmailSubmitConnection.EmailAttachmentType Property

Gets or sets the type of file to be attached to the e-mail message submitted with an EmailSubmitConnection object.

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

Syntax

'Declaration
Public MustOverride Property EmailAttachmentType As EmailAttachmentType
    Get
    Set
'Usage
Dim instance As EmailSubmitConnection
Dim value As EmailAttachmentType

value = instance.EmailAttachmentType

instance.EmailAttachmentType = value
public abstract EmailAttachmentType EmailAttachmentType { get; set; }

Property Value

Type: Microsoft.Office.InfoPath.EmailAttachmentType
An EmailAttachmentType object that specifies the type of file attached to the e-mail message.

Remarks

Use EmailAttachmentType to specify the type of file attached to the e-mail message, which can be a form file (.xml), a form file (.xml) along with a form template file (.xsn), or no file.

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 from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

See Also

Reference

EmailSubmitConnection Class

EmailSubmitConnection Members

Microsoft.Office.InfoPath Namespace