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 as plain text.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Function GetFieldValueAsText ( _
value As Object _
) As String
'Usage
Dim instance As SPField
Dim value As Object
Dim returnValue As String
returnValue = instance.GetFieldValueAsText(value)
public virtual string GetFieldValueAsText(
Object value
)
value
Type: System.ObjectThe value to convert.
Type: System.String
The value as plain text without any formatting.
In a custom type-specific class, override this method to convert the value; for example, to convert a DateTime value to a display format based on the locale and calendar of end users in Display mode.