MediaField.GetFieldValueAsHtml Method (Object)
Returns the field value as HTML.
Namespace: Microsoft.SharePoint.Publishing.Fields
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Overrides Function GetFieldValueAsHtml ( _
value As Object _
) As String
'Usage
Dim instance As MediaField
Dim value As Object
Dim returnValue As String
returnValue = instance.GetFieldValueAsHtml(value)
public override string GetFieldValueAsHtml(
Object value
)
Parameters
value
Type: System.ObjectA MediaFieldValue object that represents the value to convert.
Return Value
Type: System.String
A string containing the media title and source.