SyndicationElementExtension SyndicationElementExtension SyndicationElementExtension SyndicationElementExtension Class

Definition

A class that represents a syndication element extension.

public ref class SyndicationElementExtension
public class SyndicationElementExtension
type SyndicationElementExtension = class
Public Class SyndicationElementExtension
Inheritance
SyndicationElementExtensionSyndicationElementExtensionSyndicationElementExtensionSyndicationElementExtension

Remarks

Both RSS and Atom support protocol extensibility with additional namespace-qualified elements. An XML element not specifically defined in the RSS or Atom specifications can be present at the feed or item level as long as the namespace of that element does not match the root namespace of the enclosing feed. Element extensions can be added to various classes including:

The syndication object model makes this extensibility easier using SyndicationElementExtension, which can be placed in a SyndicationElementExtensionCollection.

Constructors

SyndicationElementExtension(Object) SyndicationElementExtension(Object) SyndicationElementExtension(Object) SyndicationElementExtension(Object)

Initializes a new instance of the SyndicationElementExtension class with the specified object.

SyndicationElementExtension(Object, XmlObjectSerializer) SyndicationElementExtension(Object, XmlObjectSerializer) SyndicationElementExtension(Object, XmlObjectSerializer) SyndicationElementExtension(Object, XmlObjectSerializer)

Initializes a new instance of the SyndicationElementExtension class with the specified object and data contract serializer.

SyndicationElementExtension(Object, XmlSerializer) SyndicationElementExtension(Object, XmlSerializer) SyndicationElementExtension(Object, XmlSerializer) SyndicationElementExtension(Object, XmlSerializer)

Initializes a new instance of the SyndicationElementExtension class with the specified object and XML serializer.

SyndicationElementExtension(String, String, Object) SyndicationElementExtension(String, String, Object) SyndicationElementExtension(String, String, Object) SyndicationElementExtension(String, String, Object)

Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, and object.

SyndicationElementExtension(String, String, Object, XmlObjectSerializer) SyndicationElementExtension(String, String, Object, XmlObjectSerializer) SyndicationElementExtension(String, String, Object, XmlObjectSerializer) SyndicationElementExtension(String, String, Object, XmlObjectSerializer)

Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, object, and data contract serializer.

SyndicationElementExtension(XmlReader) SyndicationElementExtension(XmlReader) SyndicationElementExtension(XmlReader) SyndicationElementExtension(XmlReader)

Initializes a new instance of the SyndicationElementExtension class.

Properties

OuterName OuterName OuterName OuterName

Gets the outer name of the element extension.

OuterNamespace OuterNamespace OuterNamespace OuterNamespace

Gets the outer namespace of the element extension.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObject<TExtension>() GetObject<TExtension>() GetObject<TExtension>() GetObject<TExtension>()

Gets the object that represents the element extension.

GetObject<TExtension>(XmlObjectSerializer) GetObject<TExtension>(XmlObjectSerializer) GetObject<TExtension>(XmlObjectSerializer) GetObject<TExtension>(XmlObjectSerializer)

Gets the object that represents the element extension.

GetObject<TExtension>(XmlSerializer) GetObject<TExtension>(XmlSerializer) GetObject<TExtension>(XmlSerializer) GetObject<TExtension>(XmlSerializer)

Gets the object that represents the element extension.

GetReader() GetReader() GetReader() GetReader()

Gets the XmlReader associated with the SyndicationElementExtension.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteTo(XmlWriter) WriteTo(XmlWriter) WriteTo(XmlWriter) WriteTo(XmlWriter)

Writes the current extension to the specified XmlWriter.

Applies to