EmailAdapter.AttachmentType Property

Definition

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

public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::XdAttachmentType AttachmentType { Microsoft::Office::Interop::InfoPath::SemiTrust::XdAttachmentType get(); void set(Microsoft::Office::Interop::InfoPath::SemiTrust::XdAttachmentType value); };
public Microsoft.Office.Interop.InfoPath.SemiTrust.XdAttachmentType AttachmentType { get; set; }
member this.AttachmentType : Microsoft.Office.Interop.InfoPath.SemiTrust.XdAttachmentType with get, set
Public Property AttachmentType As XdAttachmentType

Property Value

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.

Applies to