Partilhar via


SPMobileDateTimeFieldValidator Class

Verifies the value of a SPFieldDateTime 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.SPMobileDateTimeFieldValidator

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPMobileDateTimeFieldValidator _
    Inherits SPMobileFieldValidator
'Usage
Dim instance As SPMobileDateTimeFieldValidator
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobileDateTimeFieldValidator : SPMobileFieldValidator

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

SPMobileDateTimeFieldValidator Members

Microsoft.SharePoint.MobileControls Namespace