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)
Syntax
'Declaration
Public MustOverride ReadOnly Property AttachmentFileName As XPathTypedValue
Get
'Usage
Dim instance As EmailSubmitConnection
Dim value As XPathTypedValue
value = instance.AttachmentFileName
public abstract XPathTypedValue AttachmentFileName { get; }
Property Value
Type: Microsoft.Office.InfoPath.XPathTypedValue
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 InfoPath Filler or in a Web browser.