SyndicationPerson.Uri Property

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

Gets or sets the URI of the SyndicationPerson.

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

Syntax

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

Property Value

Type: System.String
The URI of the person's Web site.

Remarks

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