Compartir a través de


SyndicationFeed.Language Property

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

Gets or sets the language of the feed.

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

Syntax

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

Property Value

Type: System.String
The name of the language the feed is written in.

Remarks

When serialized to Atom 1.0, the Language property is written to the lang attribute in the <feed> element.

When serialized to RSS 2.0, the Language property is written to the <language> 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.