IPackageValidationProvider.ValidateFeature(ISharePointProjectFeature) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.