SyndicationPerson.Name Property

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

Gets or sets the name of the SyndicationPerson.

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

Syntax

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

Property Value

Type: System.String
The name of the person.

Remarks

When serialized to Atom 1.0, the Name property is written as a <name> element. The <name> element appears within an <author> or <contributor> element, which depends upon which collection (authors or contributors) the SyndicationPerson is added to.

When serialized to RSS 2.0, the Name property is written as an <a10:name> element. The <a10:name> element appears within a <managingEditor>, <a10:author>, or <a10:contributor> element. If only one SyndicationPerson is added to the authors collection, the <a10:name> element is written within the <managingEditor> element. If more than one SyndicationPerson is added to the authors collection, the <a10:name> element is written within the <a10:author> element. If the SyndicationPerson is added to the contributors collection, the <a10:name> element is written within the <a10:contributor> 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.