XdAttachmentType Enumeration
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

XdAttachmentType Enumeration

Office 2010

Specifies the type of form files attached to an e-mail message.

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

public enum XdAttachmentType

Member nameDescription
xdXmlThe attachment is a form file (.xml).
xdXmlXsnThe attachment is a form file (.xml) along with its associated form template file (.xsn).
xdNoneNo file will be attached.

Use the XdAttachmentType to specify the AttachmentType property of the EmailAdapter interface and the AttachmentType property of the MailEnvelope2 interface.

© 2015 Microsoft