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)
Syntax
'Declaration
Public Overrides Property ItemFieldValue As Object
Get
Set
'Usage
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.
Remarks
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
Reference
SPMobileCurrentDateTimeSpecificField Class