Share via


SPMobileTextFieldValidator Class

Verifies the value of a single line of text field on a mobile page.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.MobileControls.MobileControl
      System.Web.UI.MobileControls.TextControl
        System.Web.UI.MobileControls.BaseValidator
          Microsoft.SharePoint.MobileControls.SPMobileFieldValidator
            Microsoft.SharePoint.MobileControls.SPMobileTextFieldValidator

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPMobileTextFieldValidator _
    Inherits SPMobileFieldValidator

Dim instance As SPMobileTextFieldValidator
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPMobileTextFieldValidator : SPMobileFieldValidator

Remarks

Typically, objects of this class are the values of a SPMobileBaseTextField.FieldValidatorControl property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPMobileTextFieldValidator Members

Microsoft.SharePoint.MobileControls Namespace