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

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

See Also

Reference

MediaFieldValue Class

MediaFieldValue Members

Microsoft.SharePoint.Publishing.Fields Namespace