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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property DisplayName As String
Get
'Usage
Dim instance As SPListDataValidationException.SPFailure
Dim value As String
value = instance.DisplayName
[ClientCallableAttribute]
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