SPMobileBaseChoiceField.CreateValidators 方法

创建一个特殊用途的数组验证程序控件。

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

语法

声明
Protected Overrides Function CreateValidators As BaseValidator()
用法
Dim returnValue As BaseValidator()

returnValue = Me.CreateValidators()
protected override BaseValidator[] CreateValidators()

返回值

类型:[]
验证程序的数组。

备注

该数组包含以下类型的一个或多个验证程序:

  • 验证该字段具有值时需要有一个控件。

  • 一个控件,验证该字段需要具有的唯一值时具有的唯一值。

  • 通用验证程序控件。

另请参阅

引用

SPMobileBaseChoiceField 类

SPMobileBaseChoiceField 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间