SPFieldMultiChoice.GetFieldValueAsHtml method
Gets the field value in HTML format in order to render the field value directly on the page.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function GetFieldValueAsHtml ( _
value As Object _
) As String
'Usage
Dim instance As SPFieldMultiChoice
Dim value As Object
Dim returnValue As String
returnValue = instance.GetFieldValueAsHtml(value)
public override string GetFieldValueAsHtml(
Object value
)
Parameters
value
Type: System.ObjectThe value to convert.
Return value
Type: System.String
The value in HTML format.
Remarks
If the file is rendered in XSLT list view, this method returns the value of value as plain text; otherwise, this method returns the value of value as HTML.