SPListItem.GetFormattedValue method
Returns the specified field value, including formatting.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetFormattedValue ( _
fieldName As String _
) As String
'Usage
Dim instance As SPListItem
Dim fieldName As String
Dim returnValue As String
returnValue = instance.GetFormattedValue(fieldName)
public string GetFormattedValue(
string fieldName
)
Parameters
fieldName
Type: System.StringA 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.