MediaFieldControl.MediaSource Property

Gets or sets a URL reference to the media.

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

Syntax

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

value = instance.MediaSource

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

Property Value

Type: System.String
Returns String.

Remarks

If a MediaSource 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