XmlFormView.XmlLocation property

Gets or sets the URL of the form template's XML file.

Namespace:  Microsoft.Office.InfoPath.Server.Controls
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute> _
Public Property XmlLocation As String
    Get
    Set
'Usage
Dim instance As XmlFormView
Dim value As String

value = instance.XmlLocation

instance.XmlLocation = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute]
public string XmlLocation { get; set; }

Property value

Type: System.String
The URL of the form template's XML file

Remarks

This value can be set only when the EditingStatus of the form is not "Editing." Attempts to set the XmlLocation property when the form is currently being edited will result in an error.

See also

Reference

XmlFormView class

XmlFormView members

Microsoft.Office.InfoPath.Server.Controls namespace