Share via


MediaFieldValue.PreviewImageSource property

Gets or sets a URL reference to the media preview image.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property PreviewImageSource As String
    Get
    Set
'Usage
Dim instance As MediaFieldValue
Dim value As String

value = instance.PreviewImageSource

instance.PreviewImageSource = value
[DataMemberAttribute]
public string PreviewImageSource { get; set; }

Property value

Type: System.String
A URL reference to the media preview image

See also

Reference

MediaFieldValue class

MediaFieldValue members

Microsoft.SharePoint.Publishing.Fields namespace