次の方法で共有


FormErrorCollection.Count Property

Gets the number of FormError objects in the FormErrorCollection object associated with the current form.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As FormErrorCollection
Dim value As Integer

value = instance.Count
public abstract int Count { get; }

Property Value

Type: System.Int32
The number of errors in the collection.

Remarks

This member can be accessed without restrictions.

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

See Also

Reference

FormErrorCollection Class

FormErrorCollection Members

Microsoft.Office.InfoPath Namespace