Share via


SyndicationLink.MediaType Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the media type of the linked resource.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

Syntax

'Declaration
Public Property MediaType As String
public string MediaType { get; set; }

Property Value

Type: System.String
The media type of the linked resource.

Remarks

When serialized to Atom 1.0, this value is written as a type attribute in the <link> element. When serialized to RSS 2.0, this value is written as the type attribute in the <a10:link> element.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.