EmailAdapter.AttachmentType Property

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

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

Syntax

'Declaration
Property AttachmentType As XdAttachmentType
    Get
    Set
'Usage
Dim instance As EmailAdapter
Dim value As XdAttachmentType

value = instance.AttachmentType

instance.AttachmentType = value
XdAttachmentType AttachmentType { get; set; }

Property Value

Type: Microsoft.Office.Interop.InfoPath.SemiTrust.XdAttachmentType
An XdAttachmentType enumeration that specifies the kind of attachment.

Remarks

Use the XdAttachmentType enumeration 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.

See Also

Reference

EmailAdapter Interface

EmailAdapter Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace