Cette documentation est archivée et n’est pas conservée.

SPMobileCurrentDateTimeSpecificField.ItemFieldValue, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets or sets the value of the SPFieldDateTime object that the SPMobileCurrentDateTimeSpecificField control renders.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public override Object ItemFieldValue { get; set; }

Valeur de la propriété

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.