SyndicationItemFormatter 類別

定義

做為其他格式子的基底類別所使用的抽象類別 (例如 Atom10ItemFormatter)。An abstract class used as a base class for other formatters, (for example, Atom10ItemFormatter).

public ref class SyndicationItemFormatter abstract
[System.Runtime.Serialization.DataContract]
public abstract class SyndicationItemFormatter
type SyndicationItemFormatter = class
Public MustInherit Class SyndicationItemFormatter
繼承
SyndicationItemFormatter
衍生
屬性

備註

這個類別是抽象的,而且無法直接具現化。This class is abstract and cannot be instantiated directly.

建構函式

SyndicationItemFormatter()

建立 SyndicationItemFormatter 類別的新執行個體。Creates a new instance of the SyndicationItemFormatter class.

SyndicationItemFormatter(SyndicationItem)

以指定的 SyndicationItemFormatter 執行個體建立 SyndicationItem 類別的新執行個體。Creates a new instance of the SyndicationItemFormatter class with the specified SyndicationItem instance.

屬性

Item

取得與這個格式器相關聯的 SyndicationItemGets the SyndicationItem associated with the formatter.

Version

取得格式器的新聞訂閱版本。Gets the syndication version of the formatter.

方法

CanRead(XmlReader)

驗證指定的 XmlReader 是否包含有效的新聞訂閱項目。Verifies whether the specified XmlReader contains a valid syndication item.

CreateCategory(SyndicationItem)

使用指定的 SyndicationCategory 執行個體建立 SyndicationItem 類別的新執行個體。Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.

CreateItemInstance()

建立 SyndicationItem 類別的新執行個體。Creates a new instance of the SyndicationItem class.

CreateLink(SyndicationItem)

建立 SyndicationLink 類別的新執行個體。Creates a new instance of the SyndicationLink class.

CreatePerson(SyndicationItem)

使用指定的 SyndicationPerson 執行個體建立新的 SyndicationItem 執行個體。Creates a new SyndicationPerson instance with the specified SyndicationItem instance.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
LoadElementExtensions(XmlReader, SyndicationCategory, Int32)

使用指定的 SyndicationCategory 以及最大的延伸大小,將項目延伸載入指定的 XmlReaderLoads element extensions into the specified SyndicationCategory using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationItem, Int32)

使用指定的 SyndicationItem 以及最大的延伸大小,將項目延伸載入指定的 XmlReaderLoads element extensions into the specified SyndicationItem using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationLink, Int32)

使用指定的 SyndicationLink 以及最大的延伸大小,將項目延伸載入指定的 XmlReaderLoads element extensions into the specified SyndicationLink using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationPerson, Int32)

使用指定的 SyndicationPerson 以及最大的延伸大小,將項目延伸載入指定的 XmlReaderLoads element extensions into the specified SyndicationPerson using the specified XmlReader and maximum extension size.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ReadFrom(XmlReader)

自指定的 SyndicationItem 讀取 XmlReaderReads in a SyndicationItem from the specified XmlReader.

SetItem(SyndicationItem)

SyndicationItem 執行個體與 SyndicationItemFormatter 產生關聯。Associates a SyndicationItem instance with the SyndicationItemFormatter.

ToString()

取得 SyndicationItemFormatter 執行個體之字串表示。Gets a string representation of the SyndicationItemFormatter instance.

TryParseAttribute(String, String, String, SyndicationCategory, String)

使用指定的 SyndicationCategory 執行個體嘗試剖析屬性延伸。Attempts to parse an attribute extension using the specified SyndicationCategory instance.

TryParseAttribute(String, String, String, SyndicationItem, String)

使用指定的 SyndicationItem 執行個體嘗試剖析屬性延伸。Attempts to parse an attribute extension using the specified SyndicationItem instance.

TryParseAttribute(String, String, String, SyndicationLink, String)

使用指定的 SyndicationLink 執行個體嘗試剖析屬性延伸。Attempts to parse an attribute extension using the specified SyndicationLink instance.

TryParseAttribute(String, String, String, SyndicationPerson, String)

使用指定的 SyndicationPerson 執行個體嘗試剖析屬性延伸。Attempts to parse an attribute extension using the specified SyndicationPerson instance.

TryParseContent(XmlReader, SyndicationItem, String, String, SyndicationContent)

使用指定的 SyndicationItem 執行個體嘗試剖析新聞訂閱項目內容。Attempts to parse syndication item content using the specified SyndicationItem instance.

TryParseElement(XmlReader, SyndicationCategory, String)

嘗試使用指定的 SyndicationCategory 執行個體剖析項目延伸。Attempts to parse an element extension using the specified SyndicationCategory instance.

TryParseElement(XmlReader, SyndicationItem, String)

嘗試使用指定的 SyndicationItem 執行個體剖析項目延伸。Attempts to parse an element extension using the specified SyndicationItem instance.

TryParseElement(XmlReader, SyndicationLink, String)

嘗試使用指定的 SyndicationLink 執行個體剖析項目延伸。Attempts to parse an element extension using the specified SyndicationLink instance.

TryParseElement(XmlReader, SyndicationPerson, String)

嘗試使用指定的 SyndicationPerson 執行個體剖析項目延伸。Attempts to parse an element extension using the specified SyndicationPerson instance.

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

SyndicationCategory 執行個體中的屬性延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the attribute extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

SyndicationItem 執行個體中的屬性延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the attribute extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationLink, String)

SyndicationLink 執行個體中的屬性延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the attribute extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

SyndicationPerson 執行個體中的屬性延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the attribute extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

SyndicationCategory 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the element extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationItem, String)

SyndicationItem 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the element extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationLink, String)

SyndicationLink 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the element extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

SyndicationPerson 執行個體中的項目延伸寫入指定新聞訂閱版本中的指定 XmlWriterWrites the element extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

WriteTo(XmlWriter)

SyndicationItem 寫入指定的 XmlWriter 執行個體。Writes the SyndicationItem to the specified XmlWriter instance.

適用於