Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SyndicationElementExtension Class

A class that represents a syndication element extension.

System.Object
  System.ServiceModel.Syndication.SyndicationElementExtension

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

public class SyndicationElementExtension

The SyndicationElementExtension type exposes the following members.

  NameDescription
Public methodSyndicationElementExtension(Object)Initializes a new instance of the SyndicationElementExtension class with the specified object.
Public methodSyndicationElementExtension(XmlReader)Initializes a new instance of the SyndicationElementExtension class.
Public methodSyndicationElementExtension(Object, XmlObjectSerializer)Initializes a new instance of the SyndicationElementExtension class with the specified object and data contract serializer.
Public methodSyndicationElementExtension(Object, XmlSerializer)Initializes a new instance of the SyndicationElementExtension class with the specified object and XML serializer.
Public methodSyndicationElementExtension(String, String, Object)Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, and object.
Public methodSyndicationElementExtension(String, String, Object, XmlObjectSerializer)Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, object, and data contract serializer.
Top

  NameDescription
Public propertyOuterNameGets the outer name of the element extension.
Public propertyOuterNamespaceGets the outer namespace of the element extension.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetObject<TExtension>()Gets the object that represents the element extension.
Public methodGetObject<TExtension>(XmlObjectSerializer)Gets the object that represents the element extension.
Public methodGetObject<TExtension>(XmlSerializer)Gets the object that represents the element extension.
Public methodGetReaderGets the XmlReader associated with the SyndicationElementExtension.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteToWrites the current extension to the specified XmlWriter.
Top

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.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft