IPackageValidationProvider.ValidatePackageForProjectItem (Método)

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

Determina si se puede agregar un elemento de proyecto al paquete.

Espacio de nombres:  Microsoft.VisualStudio.SharePoint.Validation
Ensamblado:  Microsoft.VisualStudio.SharePoint (en Microsoft.VisualStudio.SharePoint.dll)

Sintaxis

'Declaración
Function ValidatePackageForProjectItem ( _
    projectPackage As ISharePointProjectPackage, _
    projectItem As ISharePointProjectItem _
) As IValidationResult
IValidationResult ValidatePackageForProjectItem(
    ISharePointProjectPackage projectPackage,
    ISharePointProjectItem projectItem
)

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
Un objeto que representa el resultado de la validación.

Seguridad de .NET Framework

Vea también

Referencia

IPackageValidationProvider Interfaz

Microsoft.VisualStudio.SharePoint.Validation (Espacio de nombres)