This documentation is archived and is not being maintained.

SPListItem.GetFormattedValue Method

Windows SharePoint Services 3

Returns the specified field value, including formatting.

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

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: