Share via


MediaWebPart.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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ManagedLinkAttribute(Fixup := True)> _
<WebBrowsableAttribute(False)> _
Public Property PreviewImageSource As String
    Get
    Set
'Usage
Dim instance As MediaWebPart
Dim value As String

value = instance.PreviewImageSource

instance.PreviewImageSource = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ManagedLinkAttribute(Fixup = true)]
[WebBrowsableAttribute(false)]
public string PreviewImageSource { get; set; }

Property Value

Type: System.String
Returns String.

See Also

Reference

MediaWebPart Class

MediaWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace