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 (in System.ServiceModel.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 it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (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.

.NET Framework

Supported in: 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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