MediaFieldValue.FromString Method
Creates a MediaFieldValue object from an HTML string representation.
Namespace: Microsoft.SharePoint.Publishing.Fields
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Function FromString ( _
value As String _
) As MediaFieldValue
'Usage
Dim value As String
Dim returnValue As MediaFieldValue
returnValue = MediaFieldValue.FromString(value)
public static MediaFieldValue FromString(
string value
)
Parameters
value
Type: System.StringA string containing an HTML definition list with the terms containing the property names and the definitions containing the property values.
Return Value
Type: Microsoft.SharePoint.Publishing.Fields.MediaFieldValue
A MediaFieldValue with the property values specified by the HTML input string.