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