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
value
Type: System.ObjectA MediaFieldValue object that represents the value to convert.
Return value
Type: System.String
A string that contains the media title and source.