語言

SyndicationContent 類別

定義

表示聯合內容的基底類別。

public ref class SyndicationContent abstract
public abstract class SyndicationContent
type SyndicationContent = class
Public MustInherit Class SyndicationContent
繼承
SyndicationContent
衍生

備註

這是一個抽象類別,無法直接實例化。 它被用作以下聯播內容類型的基礎類別:

建構函式

名稱 Description
SyndicationContent()

初始化 SyndicationContent 類別的新執行個體。

SyndicationContent(SyndicationContent)

初始化該類別的新實例 SyndicationContent ,並使用指定的 SyndicationContent 實例。

屬性

名稱 Description
AttributeExtensions

取得這些內容的屬性擴充功能。

Type

取得聯播內容類型。

方法

名稱 Description
Clone()

建立實 SyndicationContent 例的副本。

CreateHtmlContent(String)

建立一個包含指定 HTML 內容的新 TextSyndicationContent 實例。

CreatePlaintextContent(String)

建立一個包含指定明文內容的新 TextSyndicationContent 實例。

CreateUrlContent(Uri, String)

建立一個包含指定UrlSyndicationContent媒體類型的新Uri實例。

CreateXhtmlContent(String)

建立一個包含指定 XHTML 內容的新 TextSyndicationContent 實例。

CreateXmlContent(Object, XmlObjectSerializer)

建立 XmlSyndicationContent 一個包含指定資料合約物件與資料合約序列化器的新實例。

CreateXmlContent(Object, XmlSerializer)

建立 XmlSyndicationContent 一個包含指定物件與 XML 序列化器的新實例。

CreateXmlContent(Object)

建立 XmlSyndicationContent 一個包含指定資料合約物件的新實例。

CreateXmlContent(XmlReader)

建立 XML 聯合發行內容。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)
WriteContentsTo(XmlWriter)

將此 SyndicationContent 物件的內容寫入指定的 XmlWriter。

WriteTo(XmlWriter, String, String)

將該物件的內容寫入 XmlWriter 指定的元素及元素命名空間內的指定物件。

適用於