Udostępnij za pośrednictwem


SPMobileCurrentDateTimeSpecificField Class

Renders a field for a date and time value on a mobile page, in a way that is appropriate for the type of page, such as New, Edit, or Display; and this class also supplies the current local time to the appropriate field on the New page.

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 NotInheritable Class SPMobileCurrentDateTimeSpecificField _
    Inherits SPMobileDateTimeField
'Usage
Dim instance As SPMobileCurrentDateTimeSpecificField
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPMobileCurrentDateTimeSpecificField : SPMobileDateTimeField

Remarks

This control renders the value of an SPFieldDateTime object. It is typically the value of the FieldRenderingMobileControl 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

SPMobileCurrentDateTimeSpecificField Members

Microsoft.SharePoint.MobileControls Namespace