Export (0) Print
Expand All

SyndicationPerson.Name Property

Gets or sets the name of the SyndicationPerson.

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

public string Name { get; set; }

Property Value

Type: System.String
The name of the person.

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.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show:
© 2014 Microsoft