SPListDataValidationException.SPFailure.DisplayName property
Gets the field display name if field-level validation failed or the list-title if item-level validation failed when a list item is either inserted or updated.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property DisplayName As String
Get
'Usage
Dim instance As SPListDataValidationException.SPFailure
Dim value As String
value = instance.DisplayName
public string DisplayName { get; }
Property value
Type: System.String
Returns a string that contains either the field display name or the list title.
See also
Reference
SPListDataValidationException.SPFailure class