Edytuj

Udostępnij za pośrednictwem


Rss20FeedFormatter.WriteItems Method

Definition

Writes a collection of SyndicationItem instances to the specified 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)

Parameters

writer
XmlWriter

The XmlWriter to write to.

items
IEnumerable<SyndicationItem>

A collection of SyndicationItem instances to write.

feedBaseUri
Uri

The base URI for the feed.

Remarks

Override this method to change the way a collection of SyndicationItem objects.

Applies to