SyndicationContent Class

Definition

A base class that represents syndication content.

public ref class SyndicationContent abstract
public abstract class SyndicationContent
type SyndicationContent = class
Public MustInherit Class SyndicationContent
Inheritance
SyndicationContent
Derived

Remarks

This is an abstract class and cannot be instantiated directly. It is used as the base class for the following syndication content types:

Constructors

SyndicationContent()

Initializes a new instance of the SyndicationContent class.

SyndicationContent(SyndicationContent)

Initializes a new instance of the SyndicationContent class with the specified SyndicationContent instance.

Properties

AttributeExtensions

Gets the attribute extensions for this content.

Type

Gets the syndication content type.

Methods

Clone()

Creates a copy of the SyndicationContent instance.

CreateHtmlContent(String)

Creates a new TextSyndicationContent instance with the specified HTML content.

CreatePlaintextContent(String)

Creates a new TextSyndicationContent instance with the specified plain text content.

CreateUrlContent(Uri, String)

Creates a new UrlSyndicationContent instance with the specified Uri and media type.

CreateXhtmlContent(String)

Creates a new TextSyndicationContent instance with the specified XHTML content.

CreateXmlContent(Object)

Creates a new XmlSyndicationContent instance with the specified data contract object.

CreateXmlContent(Object, XmlObjectSerializer)

Creates a new XmlSyndicationContent instance with the specified data contract object and data contract serializer.

CreateXmlContent(Object, XmlSerializer)

Creates a new XmlSyndicationContent instance with the specified object and XML serializer.

CreateXmlContent(XmlReader)

Creates XML syndication content.

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)
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)
WriteContentsTo(XmlWriter)

Writes the contents of this SyndicationContent object to the specified XmlWriter.

WriteTo(XmlWriter, String, String)

Writes the contents of this object to the specified XmlWriter within the specified element and element namespace.

Applies to