SPListItem.GetFormattedValue Method

Returns the specified field value, including formatting.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public string GetFormattedValue(
	string fieldName
)

Parameters

fieldName
Type: System.String

A string that contains either the internal name or the display name of the field.

Return Value

Type: System.String
A string that contains the formatted value.
Show: