Share via


SPFieldDateTime.GetJsonClientFormFieldSchema method

Gets an object containing information from the field's schema that is useful for client rendering of the field in forms.

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

Syntax

'Declaration
Public Overrides Function GetJsonClientFormFieldSchema ( _
    mode As SPControlMode _
) As Dictionary(Of String, Object)
'Usage
Dim instance As SPFieldDateTime
Dim mode As SPControlMode
Dim returnValue As Dictionary(Of String, Object)

returnValue = instance.GetJsonClientFormFieldSchema(mode)
public override Dictionary<string, Object> GetJsonClientFormFieldSchema(
    SPControlMode mode
)

Parameters

Return value

Type: System.Collections.Generic.Dictionary<String, Object>
The field schema information needed for client rendering.

Remarks

This implementation calls the base implementation and, for Edit and New mode, adds additional schema information relevant to fields of this type, such as "LocaleId" and "TimeZoneDifference".

See also

Reference

SPFieldDateTime class

SPFieldDateTime members

Microsoft.SharePoint namespace