SPMobileDateTimeField.DateTimeField Property
Gets the field that the SPMobileDateTimeField control is rendering.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable ReadOnly Property DateTimeField As SPFieldDateTime
Get
'Usage
Dim value As SPFieldDateTime
value = Me.DateTimeField
protected virtual SPFieldDateTime DateTimeField { get; }
Property Value
Type: Microsoft.SharePoint.SPFieldDateTime
An SPFieldDateTime that represents the field that is being rendered.
Remarks
Calling code should use this property rather than the inherited Field because the cast from SPField to SPFieldDateTime is already done.