SyndicationPerson SyndicationPerson SyndicationPerson SyndicationPerson SyndicationPerson Class

Definition

Represents an author or contributor of syndication content.

public : sealed class SyndicationPerson : ISyndicationNode, ISyndicationPerson
struct winrt::Windows::Web::Syndication::SyndicationPerson : ISyndicationNode, ISyndicationPerson
public sealed class SyndicationPerson : ISyndicationNode, ISyndicationPerson
Public NotInheritable Class SyndicationPerson Implements ISyndicationNode, ISyndicationPerson
var syndicationPerson = new syndicationPerson();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The following table maps SyndicationPerson properties to RSS and Atom feed elements.

SyndicationPersonRSSAtom
Email (node value)email
Name name
Uri uri

Constructors

SyndicationPerson() SyndicationPerson() SyndicationPerson() SyndicationPerson() SyndicationPerson()

Creates a SyndicationPerson object.

SyndicationPerson(String) SyndicationPerson(String) SyndicationPerson(String) SyndicationPerson(String) SyndicationPerson(String)

Creates a SyndicationPerson object with the specified Name property value.

SyndicationPerson(String, String, Uri) SyndicationPerson(String, String, Uri) SyndicationPerson(String, String, Uri) SyndicationPerson(String, String, Uri) SyndicationPerson(String, String, Uri)

Creates a SyndicationPerson object with the specified Name, Email, and Uri property values.

Properties

AttributeExtensions AttributeExtensions AttributeExtensions AttributeExtensions AttributeExtensions

Gets the list of custom attributes of the element.

BaseUri BaseUri BaseUri BaseUri BaseUri

Gets or sets the base URI for the element. This property represents the xml:base attribute on the element. It may be inherited from an ancestor element.

ElementExtensions ElementExtensions ElementExtensions ElementExtensions ElementExtensions

Gets the list of child elements within the element.

Email Email Email Email Email

Gets or sets the email address of the person.

Language Language Language Language Language

Gets or sets the language of the element. This property represents the xml:lang attribute on the element. It may be inherited from an ancestor element. It must be valid according to XML 1.0.

Name Name Name Name Name

Gets the name of the syndication person.

NodeName NodeName NodeName NodeName NodeName

Gets or sets the local name of the element.

NodeNamespace NodeNamespace NodeNamespace NodeNamespace NodeNamespace

Gets or sets the namespace of the element.

NodeValue NodeValue NodeValue NodeValue NodeValue

Gets or sets the text content of the element. If the element contains only child elements, this property is NULL.

Uri Uri Uri Uri Uri

Gets or sets the Uniform Resource Identifier (URI) of the person. This property represents the atom:uri element. It is the absolute Uniform Resource Identifier (URI) resolved against the xml:base attribute, if it is present. If the href attribute is a relative Uniform Resource Identifier (URI) string and there is no xml:base attribute, this property is NULL because the relative Uniform Resource Identifier (URI) is not supported by the runtime Uniform Resource Identifier (URI) class.

Methods

GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat) GetXmlDocument(SyndicationFormat)

Generates the DOM object that represents this element, all the attributes and child elements including foreign markups. The only formats accepted by this method are Atom 1.0 and RSS 2.0.

See Also