共用方式為


IValidationResult Interface

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

Represents the result of a feature or package validation.

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

Syntax

'Declaration
Public Interface IValidationResult
public interface IValidationResult

The IValidationResult type exposes the following members.

Properties

  Name Description
Public property HasErrors Gets whether any of the rule validation violations are errors.
Public property HasWarnings Gets whether any of the rule validation violations are warnings.
Public property RuleViolations Gets the collection of rule validation violations found during validation.

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint.Validation Namespace