SyndicationElementExtension Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
A class that represents a syndication element extension.
Inheritance Hierarchy
System.Object
System.ServiceModel.Syndication.SyndicationElementExtension
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public Class SyndicationElementExtension
public class SyndicationElementExtension
The SyndicationElementExtension type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SyndicationElementExtension(Object) | Initializes a new instance of the SyndicationElementExtension class with the specified object. | |
SyndicationElementExtension(XmlReader) | Initializes a new instance of the SyndicationElementExtension class. | |
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(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) | Initializes a new instance of the SyndicationElementExtension class with the specified outer name, outer namespace, object, and data contract serializer. |
Top
Properties
Name | Description | |
---|---|---|
OuterName | Gets the outer name of the element extension. | |
OuterNamespace | Gets the outer namespace of the element extension. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (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 | Writes the current extension to the specified XmlWriter. |
Top
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.