[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a rule to applied when validating a package in a SharePoint project.
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Thetype exposes the following members.
|ValidateFeature||Determines whether a package would violate this rule if the specified feature were added.|
|ValidatePackage||Determines whether a package currently violates this rule.|
|ValidateProjectItem||Determines whether a package would violate this rule if the specified project item is added.|
Implement the interface to define a custom validation rule to help verify that the package in a SharePoint project is valid. For more information, see How to: Create Custom Feature and Package Validation Rules for SharePoint Solutions.
Classes that implement this interface must include the System.ComponentModel.Composition.ExportAttribute to be discovered by the project system.