IPackageValidationProvider.ValidatePackage(ISharePointProjectPackage) 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 package or any of its constituent parts (features and 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 ^ ValidatePackage(Microsoft::VisualStudio::SharePoint::ISharePointProjectPackage ^ projectPackage);
public Microsoft.VisualStudio.SharePoint.Validation.IValidationResult ValidatePackage (Microsoft.VisualStudio.SharePoint.ISharePointProjectPackage projectPackage);
abstract member ValidatePackage : Microsoft.VisualStudio.SharePoint.ISharePointProjectPackage -> Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
Public Function ValidatePackage (projectPackage As ISharePointProjectPackage) As IValidationResult
Parameters
- projectPackage
- ISharePointProjectPackage
The package to validate.
Returns
An object representing the result of the validation.