Share via


IPackageValidationProvider.ValidatePackageForProjectItem Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Namespace:  Microsoft.VisualStudio.SharePoint.Validation
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Function ValidatePackageForProjectItem ( _
    projectPackage As ISharePointProjectPackage, _
    projectItem As ISharePointProjectItem _
) As IValidationResult
IValidationResult ValidatePackageForProjectItem(
    ISharePointProjectPackage projectPackage,
    ISharePointProjectItem projectItem
)

Parameters

Return Value

Type: Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
An object representing the result of the validation.

.NET Framework Security

See Also

Reference

IPackageValidationProvider Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace