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