次の方法で共有


FormErrorCollection.Count プロパティ

現在のフォームに関連付けられた FormErrorCollection オブジェクト内の FormError オブジェクトの数を取得します。

名前空間:  Microsoft.Office.InfoPath
アセンブリ:  Microsoft.Office.InfoPath (Microsoft.Office.InfoPath.dll)

構文

'宣言
Public MustOverride ReadOnly Property Count As Integer
    Get
'使用
Dim instance As FormErrorCollection
Dim value As Integer

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

プロパティ値

型: System.Int32
コレクション内のエラーの数。

解説

このメンバーには、制約なしでアクセスできます。

この型またはメンバーには、Microsoft InfoPath Filler または Web ブラウザーで開かれたフォームを実行中のコードからアクセスできます。

関連項目

参照

FormErrorCollection クラス

FormErrorCollection メンバー

Microsoft.Office.InfoPath 名前空間