Share via


MediaField.GetFieldValueAsText method

Returns the field value as plain text.

Namespace:  Microsoft.SharePoint.Publishing.Fields
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Overrides Function GetFieldValueAsText ( _
    value As Object _
) As String
'Usage
Dim instance As MediaField
Dim value As Object
Dim returnValue As String

returnValue = instance.GetFieldValueAsText(value)
public override string GetFieldValueAsText(
    Object value
)

Parameters

Return value

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

See also

Reference

MediaField class

MediaField members

Microsoft.SharePoint.Publishing.Fields namespace