Share via


IValidationRuleViolation.Code Property

Gets the error code associated with the validation violation.

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

Syntax

'Declaration
ReadOnly Property Code As String
string Code { get; }

Property Value

Type: String
A string representing the error code.

Remarks

This property should always have a value.

.NET Framework Security

See Also

Reference

IValidationRuleViolation Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace