Atom10FeedFormatter.WriteItems 方法

定义

SyndicationItem 实例的集合写入指定的 XmlWriter

protected:
 virtual void WriteItems(System::Xml::XmlWriter ^ writer, System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::SyndicationItem ^> ^ items, Uri ^ feedBaseUri);
protected virtual void WriteItems (System.Xml.XmlWriter writer, System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.SyndicationItem> items, Uri feedBaseUri);
abstract member WriteItems : System.Xml.XmlWriter * seq<System.ServiceModel.Syndication.SyndicationItem> * Uri -> unit
override this.WriteItems : System.Xml.XmlWriter * seq<System.ServiceModel.Syndication.SyndicationItem> * Uri -> unit
Protected Overridable Sub WriteItems (writer As XmlWriter, items As IEnumerable(Of SyndicationItem), feedBaseUri As Uri)

参数

writer
XmlWriter

要向其中进行写入的 XmlWriter

items
IEnumerable<SyndicationItem>

要写入的 SyndicationItem 实例集合。

feedBaseUri
Uri

源的基 URI。

注解

重写此方法可以更改写入 SyndicationItem 对象集合的方式。

适用于