Share via


IValidationRuleViolation.Code Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.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