Sdílet prostřednictvím


IPackageValidationProvider.ValidateFeature(ISharePointProjectFeature) Method

Definition

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

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

public:
 Microsoft::VisualStudio::SharePoint::Validation::IValidationResult ^ ValidateFeature(Microsoft::VisualStudio::SharePoint::ISharePointProjectFeature ^ projectFeature);
public Microsoft.VisualStudio.SharePoint.Validation.IValidationResult ValidateFeature (Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature projectFeature);
abstract member ValidateFeature : Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature -> Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
Public Function ValidateFeature (projectFeature As ISharePointProjectFeature) As IValidationResult

Parameters

projectFeature
ISharePointProjectFeature

The feature to validate.

Returns

An object representing the result of the validation.

Applies to