SPMobileDateTimeField Class
Renders on a mobile page a field for a date time value in a manner that is appropriate for the type of page, such as New, Edit, or Display.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.MobileControls.MobileControl
Microsoft.SharePoint.MobileControls.SPMobileComponent
Microsoft.SharePoint.MobileControls.SPMobileFieldMetaData
Microsoft.SharePoint.MobileControls.SPMobileBaseFieldControl
Microsoft.SharePoint.MobileControls.SPMobileBaseTextField
Microsoft.SharePoint.MobileControls.SPMobileDateTimeField
Microsoft.SharePoint.MobileControls.SPMobileCurrentDateTimeSpecificField
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 Class SPMobileDateTimeField _
Inherits SPMobileBaseTextField
'Usage
Dim instance As SPMobileDateTimeField
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPMobileDateTimeField : SPMobileBaseTextField
Remarks
This control renders the value of an SPFieldDateTime object. It is typically the value of the FieldRenderingMobileControl.
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.