Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AttachmentFileName property

EmailSubmitConnection.AttachmentFileName property

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)

'Declaration
Public MustOverride ReadOnly Property AttachmentFileName As XPathTypedValue
	Get
'Usage
Dim instance As EmailSubmitConnection
Dim value As XPathTypedValue

value = instance.AttachmentFileName

Property value

Type: Microsoft.Office.InfoPath.XPathTypedValue
An XPathTypedValue object that evaluates to the name of the form file name to be submitted.

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

Show:
© 2015 Microsoft