SyndicationContent SyndicationContent SyndicationContent 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
SyndicationContentSyndicationContentSyndicationContentSyndicationContent
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() SyndicationContent() SyndicationContent() SyndicationContent()

Initializes a new instance of the SyndicationContent class.

SyndicationContent(SyndicationContent) SyndicationContent(SyndicationContent) SyndicationContent(SyndicationContent) SyndicationContent(SyndicationContent)

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

Properties

AttributeExtensions AttributeExtensions AttributeExtensions AttributeExtensions

Gets the attribute extensions for this content.

Type Type Type Type

Gets the syndication content type.

Methods

Clone() Clone() Clone() Clone()

Creates a copy of the SyndicationContent instance.

CreateHtmlContent(String) CreateHtmlContent(String) CreateHtmlContent(String) CreateHtmlContent(String)

Creates a new TextSyndicationContent instance with the specified HTML content.

CreatePlaintextContent(String) CreatePlaintextContent(String) CreatePlaintextContent(String) CreatePlaintextContent(String)

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

CreateUrlContent(Uri, String) CreateUrlContent(Uri, String) CreateUrlContent(Uri, String) CreateUrlContent(Uri, String)

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

CreateXhtmlContent(String) CreateXhtmlContent(String) CreateXhtmlContent(String) CreateXhtmlContent(String)

Creates a new TextSyndicationContent instance with the specified XHTML content.

CreateXmlContent(Object) CreateXmlContent(Object) CreateXmlContent(Object) CreateXmlContent(Object)

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

CreateXmlContent(Object, XmlObjectSerializer) CreateXmlContent(Object, XmlObjectSerializer) CreateXmlContent(Object, XmlObjectSerializer) CreateXmlContent(Object, XmlObjectSerializer)

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

CreateXmlContent(Object, XmlSerializer) CreateXmlContent(Object, XmlSerializer) CreateXmlContent(Object, XmlSerializer) CreateXmlContent(Object, XmlSerializer)

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

CreateXmlContent(XmlReader) CreateXmlContent(XmlReader) CreateXmlContent(XmlReader) CreateXmlContent(XmlReader)

Creates XML syndication content.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteContentsTo(XmlWriter) WriteContentsTo(XmlWriter) WriteContentsTo(XmlWriter) WriteContentsTo(XmlWriter)

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

WriteTo(XmlWriter, String, String) WriteTo(XmlWriter, String, String) WriteTo(XmlWriter, String, String) WriteTo(XmlWriter, String, String)

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

Applies to