共用方式為


XmlFormView.XsnLocation Property

Gets or sets the URL that specifies the location of the form template.

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

Syntax

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

value = instance.XsnLocation

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

Property Value

Type: System.String
A URL that specifies the location of the form template

Remarks

This value can be set only when the EditingStatus of the form is not "Editing." Attempts to set the XsnLocation 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