共用方式為


XmlFormView.SubmitStatus Property

Gets the state of last submit operation.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property SubmitStatus As XmlFormView.SubmitState
    Get
'Usage
Dim instance As XmlFormView
Dim value As XmlFormView.SubmitState

value = instance.SubmitStatus
[BrowsableAttribute(false)]
public XmlFormView.SubmitState SubmitStatus { get; }

Property Value

Type: Microsoft.Office.InfoPath.Server.Controls.XmlFormView.SubmitState
One of the enumeration values.

Remarks

The SubmitStatus property is based on the XmlFormView.SubmitState enumeration, which includes the following values.

Value

Description

Error

The submit process encountered an error.

None

The form has not been submitted.

Success

The most recent form submission was successful.

See Also

Reference

XmlFormView Class

XmlFormView Members

Microsoft.Office.InfoPath.Server.Controls Namespace