Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the field value that is rendered in Edit mode in Edit and New forms.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overridable Function GetFieldValueForEdit ( _
value As Object _
) As String
'Usage
Dim instance As SPField
Dim value As Object
Dim returnValue As String
returnValue = instance.GetFieldValueForEdit(value)
public virtual string GetFieldValueForEdit(
Object value
)
Parameters
value
Type: System.ObjectThe value to convert.
Return Value
Type: System.String
The field value that is rendered in Edit mode.
Remarks
In a custom type-specific class, override this method to convert the field value; for example, to convert a DateTime value to a display format that is based on the locale and calendar of end users in Edit and New forms.