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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.