Udostępnij za pośrednictwem


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

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPMobileTextFieldValidator _
    Inherits SPMobileFieldValidator
'Usage
Dim instance As SPMobileTextFieldValidator
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
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