Share via


MediaWebPart.MediaSource property

A URL reference to the media.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ManagedLinkAttribute(Fixup := True)> _
<WebBrowsableAttribute(True)> _
Public Property MediaSource As String
    Get
    Set
'Usage
Dim instance As MediaWebPart
Dim value As String

value = instance.MediaSource

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

Property value

Type: System.String
Returns String.

See also

Reference

MediaWebPart class

MediaWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace