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