Share via


EmailSubmitConnection.AttachmentFileName Property (Microsoft.Office.InfoPath)

Gets an XPathTypedValue object that evaluates to the file name to be used for the current form when the form is attached to an 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 ReadOnly Property AttachmentFileName As XPathTypedValue
'Usage
Dim instance As EmailSubmitConnection
Dim value As XPathTypedValue

value = instance.AttachmentFileName
public abstract XPathTypedValue AttachmentFileName { get; }

Property Value

An XPathTypedValue object that evaluates to the name of the form file name to be submitted.

Remarks

The ".xml" file name extension will be appended to the string if it is not already included.

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 Office InfoPath 2007 or in a Web browser.

See Also

Reference

EmailSubmitConnection Class
EmailSubmitConnection Members
Microsoft.Office.InfoPath Namespace