Share via


MediaFieldValue.MediaSource property

Gets or sets the URL reference to the media.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property MediaSource As String
    Get
    Set
'Usage
Dim instance As MediaFieldValue
Dim value As String

value = instance.MediaSource

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

Property value

Type: System.String
The URL reference to the media

See also

Reference

MediaFieldValue class

MediaFieldValue members

Microsoft.SharePoint.Publishing.Fields namespace