Condividi tramite


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