SyndicationPerson SyndicationPerson SyndicationPerson SyndicationPerson Class

Definition

Represents an author or contributor of syndication content.

public sealed class SyndicationPersonpublic sealed class SyndicationPersonPublic NotInheritable Class SyndicationPersonpublic sealed class 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()

Creates a SyndicationPerson object.

public SyndicationPerson()public New()Public Sub New()public SyndicationPerson()
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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

Creates a SyndicationPerson object with the specified Name property value.

public SyndicationPerson(String name)public New(String name)Public Sub New(name As String)public SyndicationPerson(String name)
Parameters
name
System.String System.String System.String System.String

The name of the SyndicationPerson. This parameter represents the atom:name element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

public SyndicationPerson(String name, String email, Uri uri)public New(String name, String email, Uri uri)Public Sub New(name As String, email As String, uri As Uri)public SyndicationPerson(String name, String email, Uri uri)
Parameters
name
System.String System.String System.String System.String

The name of the SyndicationPerson. This parameter represents the atom:name element.

email
System.String System.String System.String System.String

Gets or sets the email address of the person. This property represents the atom:email element.

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 URI resolved against the xml:base attribute, if it is present. If the href attribute is a relative URI string and there is no xml:base attribute, this property is NULL because relative URI is not supported by the runtime URI class.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

AttributeExtensions AttributeExtensions AttributeExtensions AttributeExtensions

Gets the list of custom attributes of the element.

public IVector<SyndicationAttribute> AttributeExtensions { get; }public IVector<SyndicationAttribute> AttributeExtensions { get; }Public ReadOnly Property AttributeExtensions As IVector<SyndicationAttribute>public IVector<SyndicationAttribute> AttributeExtensions { get; }
Value

A list of attributes of the element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

public Uri BaseUri { get; set; }public Uri BaseUri { get; set; }Public ReadWrite Property BaseUri As Uripublic Uri BaseUri { get; set; }
Value
Uri Uri Uri Uri

The xml:base attribute on the element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

ElementExtensions ElementExtensions ElementExtensions ElementExtensions

Gets the list of child elements within the element.

public IVector<ISyndicationNode> ElementExtensions { get; }public IVector<ISyndicationNode> ElementExtensions { get; }Public ReadOnly Property ElementExtensions As IVector<ISyndicationNode>public IVector<ISyndicationNode> ElementExtensions { get; }
Value

The list of child elements within the element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The following elements in the RSS 2.0 documents do not have public accessors;they can be accessed by searching the ElementExtensions collection on the SyndicationFeed object:

  • /rss/channel/docs
  • /rss/channel/cloud
  • /rss/channel/pubDate
  • /rss/channel/webmaster
  • /rss/channel/ttl
  • /rss/channel/rating
  • /rss/channel/textInput
  • /rss/channel/skipDays
  • /rss/channel/skipHours

Email Email Email Email

Gets or sets the email address of the person.

public string Email { get; set; }public string Email { get; set; }Public ReadWrite Property Email As stringpublic string Email { get; set; }
Value
string string string string

The atom:email element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

public string Language { get; set; }public string Language { get; set; }Public ReadWrite Property Language As stringpublic string Language { get; set; }
Value
string string string string

The xml:lang attribute on the element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Name Name Name Name

Gets the name of the syndication person.

public string Name { get; set; }public string Name { get; set; }Public ReadWrite Property Name As stringpublic string Name { get; set; }
Value
string string string string

The atom:name element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

NodeName NodeName NodeName NodeName

Gets or sets the local name of the element.

public string NodeName { get; set; }public string NodeName { get; set; }Public ReadWrite Property NodeName As stringpublic string NodeName { get; set; }
Value
string string string string

The local name of the element. Must be valid according to XML 1.0.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

NodeNamespace NodeNamespace NodeNamespace NodeNamespace

Gets or sets the namespace of the element.

public string NodeNamespace { get; set; }public string NodeNamespace { get; set; }Public ReadWrite Property NodeNamespace As stringpublic string NodeNamespace { get; set; }
Value
string string string string

The namespace of the element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

NodeValue NodeValue NodeValue NodeValue

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

public string NodeValue { get; set; }public string NodeValue { get; set; }Public ReadWrite Property NodeValue As stringpublic string NodeValue { get; set; }
Value
string string string string

The text content of the element.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

public Uri Uri { get; set; }public Uri Uri { get; set; }Public ReadWrite Property Uri As Uripublic Uri Uri { get; set; }
Value
Uri Uri Uri Uri

The Uniform Resource Identifier (URI) of the person.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

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.

public XmlDocument GetXmlDocument(SyndicationFormat format)public XmlDocument GetXmlDocument(SyndicationFormat format)Public Function GetXmlDocument(format As SyndicationFormat) As XmlDocumentpublic XmlDocument GetXmlDocument(SyndicationFormat format)
Parameters
Returns

The DOM object that represents this element, and all the attributes and child elements, including foreign markups.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)