ValidationErrorContext.ErrorMessageCount property
Gets the number of error messages that this context contains.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property ErrorMessageCount As Integer
Get
'Usage
Dim instance As ValidationErrorContext
Dim value As Integer
value = instance.ErrorMessageCount
public int ErrorMessageCount { get; }
Property value
Type: System.Int32
The number of error messages.