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

value = instance.MediaSource

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

Property Value

Type: System.String
Returns String.

See Also

Reference

MediaWebPart Class

MediaWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace