Share via


IValidationRuleViolation Interface

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

Represents an instance of a validation rule violation.

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

Syntax

'Declaration
Public Interface IValidationRuleViolation
public interface IValidationRuleViolation

The IValidationRuleViolation type exposes the following members.

Properties

  Name Description
Public property Code Gets the error code associated with the validation violation.
Public property Document Gets the path to the document associated with the validation violation.
Public property HelpKeyword Gets the F1 Help keyword associated with the validation violation.
Public property Message Gets a message associated with the validation violation.
Public property Project Gets an instance of the project containing the document associated with the validation violation.
Public property Severity Gets the severity of this validation violation.

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint.Validation Namespace