Share via


IPackageValidationProvider Interface

Definition

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.

This API supports the product infrastructure and is not intended to be used directly from your code.

public interface class IPackageValidationProvider
[System.Runtime.InteropServices.Guid("B09AD57B-D853-416D-8156-F054A2B1516F")]
public interface IPackageValidationProvider
[<System.Runtime.InteropServices.Guid("B09AD57B-D853-416D-8156-F054A2B1516F")>]
type IPackageValidationProvider = interface
Public Interface IPackageValidationProvider
Attributes

Remarks

This interface is not expected to be implemented by third parties.

Methods

ValidateFeature(ISharePointProjectFeature)

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether an entire feature or any of its constituent project items violate any of the validation rules.

ValidateFeatureForProjectItem(ISharePointProjectFeature, ISharePointProjectItem)

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether a project item can be added to the feature.

ValidatePackage(ISharePointProjectPackage)

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether an entire package or any of its constituent parts (features and project items) violate any of the validation rules.

ValidatePackageForFeature(ISharePointProjectPackage, ISharePointProjectFeature)

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether a feature can be added to the package.

ValidatePackageForProjectItem(ISharePointProjectPackage, ISharePointProjectItem)

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether a project item can be added to the package.

Applies to