Compartir a través de


FormError.ErrorCode Property

Gets or sets the numeric error code value of a FormError object.

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

Syntax

'Declaration
Public MustOverride Property ErrorCode As Integer
    Get
    Set
'Usage
Dim instance As FormError
Dim value As Integer

value = instance.ErrorCode

instance.ErrorCode = value
public abstract int ErrorCode { get; set; }

Property Value

Type: System.Int32
The error code of the FormError object.

Remarks

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.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See Also

Reference

FormError Class

FormError Members

Microsoft.Office.InfoPath Namespace