Share via


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.Object

    A MediaFieldValue object that represents the value to convert.

Return value

Type: System.String
A string containing the media title and source.

See also

Reference

MediaField class

MediaField members

GetFieldValueAsHtml overload

Microsoft.SharePoint.Publishing.Fields namespace