EmailAdapter.AttachmentType 属性
获取或设置要附加到电子邮件(通过 EmailAdapter 对象来提交)上的文件的类型。
命名空间: Microsoft.Office.Interop.InfoPath.SemiTrust
程序集: Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)
语法
声明
Property AttachmentType As XdAttachmentType
Get
Set
用法
Dim instance As EmailAdapter
Dim value As XdAttachmentType
value = instance.AttachmentType
instance.AttachmentType = value
XdAttachmentType AttachmentType { get; set; }
属性值
类型:Microsoft.Office.Interop.InfoPath.SemiTrust.XdAttachmentType
用于指定附件种类的 XdAttachmentType 枚举。
备注
使用 XdAttachmentType 枚举指定附加到电子邮件的文件的类型,可以是表单文件 (.xml)、表单文件 (.xml) 及表单模板文件 (.xsn),或者没有任何文件。
此成员只能由与当前打开的表单在相同域中运行的表单访问,或者由已授予跨域权限的表单访问。