Compartir a través de


SyndicationPerson.Email Property

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

Gets or sets the e-mail address of the SyndicationPerson.

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

Syntax

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

Property Value

Type: System.String
The e-mail address of the person.

Remarks

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