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.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.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

Remarks

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.

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.SemiTrust namespace