SPMobileFieldValidator 类
验证 (UI) 中的特定字段的特定列表项的值满足任何限制对该字段的值。
继承层次结构
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Label
System.Web.UI.WebControls.BaseValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileFieldValidator
命名空间: Microsoft.SharePoint.Mobile.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPMobileFieldValidator _
Inherits BaseValidator _
Implements IValidator
用法
Dim instance As SPMobileFieldValidator
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileFieldValidator : BaseValidator,
IValidator
备注
Validate方法具有没有默认实现,因此将此类作为基类用于派生新验证程序类。实现Validate方法所需的逻辑。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
引用
Microsoft.SharePoint.Mobile.WebControls 命名空间
继承层次结构
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Label
System.Web.UI.WebControls.BaseValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileFieldValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileBaseNumberFieldValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileDateTimeFieldValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileGeolocationFieldValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileNoteFieldValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileTextFieldValidator
Microsoft.SharePoint.Mobile.WebControls.SPMobileUrlFieldValidator