次の方法で共有


ValidationErrorContext.ErrorMessages property

Gets the validation error messages.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorMessages As IEnumerable(Of String)
    Get
'Usage
Dim instance As ValidationErrorContext
Dim value As IEnumerable(Of String)

value = instance.ErrorMessages
public IEnumerable<string> ErrorMessages { get; }

Property value

Type: System.Collections.Generic.IEnumerable<String>
The validation error messages.

See also

Reference

ValidationErrorContext class

ValidationErrorContext members

Microsoft.SharePoint namespace