SPSolutionValidatorCollection.Add 方法

插入解决方案验证程序毕竟现有解决方案验证器,如果它不存在。

命名空间:  Microsoft.SharePoint.UserCode
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overrides Function Add ( _
    validator As SPSolutionValidator _
) As SPSolutionValidator
用法
Dim instance As SPSolutionValidatorCollection
Dim validator As SPSolutionValidator
Dim returnValue As SPSolutionValidator

returnValue = instance.Add(validator)
public override SPSolutionValidator Add(
    SPSolutionValidator validator
)

参数

返回值

类型:Microsoft.SharePoint.UserCode.SPSolutionValidator
返回SPSolutionValidator

另请参阅

引用

SPSolutionValidatorCollection 类

SPSolutionValidatorCollection 成员

Microsoft.SharePoint.UserCode 命名空间