MediaFieldControl.PreviewImageSource property

A URL reference to the media preview image.

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

Syntax

'Declaration
Public Property PreviewImageSource As String
    Get
    Set
'Usage
Dim instance As MediaFieldControl
Dim value As String

value = instance.PreviewImageSource

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

Property value

Type: System.String
Returns String.

Remarks

If a PreviewImageSource value is specified by the MediaFieldValue, it will take precedence over this setting.

See also

Reference

MediaFieldControl class

MediaFieldControl members

Microsoft.SharePoint.Publishing.WebControls namespace