Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Represents a component that can validate a SharePoint package and its constituent parts. Validation consists of the application of rules to the package and returning a list of any violated rules.
Namespace: Microsoft.VisualStudio.SharePoint.Validation
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
<GuidAttribute("B09AD57B-D853-416D-8156-F054A2B1516F")> _
Public Interface IPackageValidationProvider
[GuidAttribute("B09AD57B-D853-416D-8156-F054A2B1516F")]
public interface IPackageValidationProvider
The IPackageValidationProvider type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
ValidateFeature | Determines whether an entire feature or any of its constituent project items violate any of the validation rules. |
![]() |
ValidateFeatureForProjectItem | Determines whether a project item can be added to the feature. |
![]() |
ValidatePackage | Determines whether an entire package or any of its constituent parts (features and project items) violate any of the validation rules. |
![]() |
ValidatePackageForFeature | Determines whether a feature can be added to the package. |
![]() |
ValidatePackageForProjectItem | Determines whether a project item can be added to the package. |
Top
Remarks
This interface is not expected to be implemented by third parties.