Share via


XMLFileAdapter2.FileURL Property

Gets or sets the Uniform Resource Locator (URL) of the XML file that is associated with the XMLFileAdapterObject object.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Property FileURL As String
    Get
    Set
'Usage
Dim instance As XMLFileAdapter2
Dim value As String

value = instance.FileURL

instance.FileURL = value
string FileURL { get; set; }

Property Value

Type: System.String

Implements

XMLFileAdapter.FileURL

Examples

XMLFileAdapter myAdapter = (XMLFileAdapter)thisXDocument.DataObjects[0].QueryAdapter;
thisXDocument.UI.Alert("The FileURL is: " + myAdapter.FileURL);

See Also

Reference

XMLFileAdapter2 Interface

XMLFileAdapter2 Members

FileURL Overload

Microsoft.Office.Interop.InfoPath Namespace