SPMobileCurrentDateTimeSpecificField.ItemFieldValue Property

Gets or sets the value of the SPFieldDateTime object that the SPMobileCurrentDateTimeSpecificField control renders.

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


Public Overrides Property ItemFieldValue As Object

Dim instance As SPMobileCurrentDateTimeSpecificField
Dim value As Object

value = instance.ItemFieldValue

instance.ItemFieldValue = value
public override Object ItemFieldValue { get; set; }

Property Value

Type: System.Object
A Object instance, specifically, a DateTime object, that represents the current value of the SPFieldDateTime object that is rendered by the SPMobileCurrentDateTimeSpecificField class.


This override is the same as the base class implementation except that on a New (item) page it uses the current local time as a default value.

The value of the rendering control in the UI, is the Value property. If the user has changed the value but not yet saved the change, then its value will be different from the ItemFieldValue property.

See Also


SPMobileCurrentDateTimeSpecificField Class

SPMobileCurrentDateTimeSpecificField Members

Microsoft.SharePoint.MobileControls Namespace