編集

次の方法で共有


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
SyndicationElementExtension

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, XmlObjectSerializer)

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

SyndicationElementExtension(Object, XmlSerializer)

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

SyndicationElementExtension(Object)

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

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(String, String, Object)

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

SyndicationElementExtension(XmlReader)

Initializes a new instance of the SyndicationElementExtension class.

Properties

OuterName

Gets the outer name of the element extension.

OuterNamespace

Gets the outer namespace of the element extension.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObject<TExtension>()

Gets the object that represents the element extension.

GetObject<TExtension>(XmlObjectSerializer)

Gets the object that represents the element extension.

GetObject<TExtension>(XmlSerializer)

Gets the object that represents the element extension.

GetReader()

Gets the XmlReader associated with the SyndicationElementExtension.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteTo(XmlWriter)

Writes the current extension to the specified XmlWriter.

Applies to