IPackageValidationProvider.ValidatePackageForFeature 方法

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

确定是否可以向包添加功能。

命名空间:  Microsoft.VisualStudio.SharePoint.Validation
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Function ValidatePackageForFeature ( _
    projectPackage As ISharePointProjectPackage, _
    projectFeature As ISharePointProjectFeature _
) As IValidationResult
IValidationResult ValidatePackageForFeature(
    ISharePointProjectPackage projectPackage,
    ISharePointProjectFeature projectFeature
)

参数

返回值

类型:Microsoft.VisualStudio.SharePoint.Validation.IValidationResult
一个表示验证结果的对象。

.NET Framework 安全性

请参见

参考

IPackageValidationProvider 接口

Microsoft.VisualStudio.SharePoint.Validation 命名空间