Writes a generated RSS syndication feed to the specified Stream using the supplied collection.

Namespace: BlogEngine.Core
Assembly:  BlogEngine.Core (in BlogEngine.Core.dll)
Version: 1.2.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
protected void WriteRssFeed(
	Stream stream,
	List<IPublishable> publishables,
	string title
)
Protected Sub WriteRssFeed ( _
	stream As Stream, _
	publishables As List(Of IPublishable), _
	title As String _
)
protected:
void WriteRssFeed (
	Stream^ stream, 
	List<IPublishable^>^ publishables, 
	String^ title
)

Parameters

stream
Stream
The Stream to which you want to write the syndication feed.
publishables
List<(Of <IPublishable>)>
The collection of IPublishable objects used to generate the syndication feed content.
title
String
The title of the RSS channel.

Exceptions

ExceptionCondition
System..::ArgumentNullExceptionThe stream is a null reference (Nothing in Visual Basic).
System..::ArgumentNullExceptionThe publishables is a null reference (Nothing in Visual Basic).

See Also