DAVAdapter.FileName Property
Gets or sets the file name that the current Microsoft InfoPath 2010 form will be given when the form is submitted by the DAVAdapterObject.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntax
'Declaration
Property FileName As String
Get
Set
'Usage
Dim instance As DAVAdapter
Dim value As String
value = instance.FileName
instance.FileName = value
string FileName { get; set; }
Property Value
Type: System.String
Remarks
The ".xml" file name extension will be appended to the string if it is not already included. If the FileName property is set to null, the form is given the name "Form.xml" when it is submitted.
Important
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.