Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPField.GetFieldValueForEdit Method

Windows SharePoint Services 3

Returns the field value that is rendered in Edit mode in Edit and New forms.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public virtual string GetFieldValueForEdit(
	Object value


Type: System.Object
An object that represents the value object to convert.

Return Value

Type: System.String
A string that contains the field value that is rendered in Edit mode.

In a custom type-specific class, override the GetFieldValueForEdit method to convert, for example, a DateTime value to a display format that is based on the locale and calendar of end users in Edit and New forms.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.