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
- 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
| Exception | Condition |
|---|---|
| System..::ArgumentNullException | The stream is a null reference (Nothing in Visual Basic). |
| System..::ArgumentNullException | The publishables is a null reference (Nothing in Visual Basic). |
See Also
SyndicationGenerator Class
BlogEngine.Core Namespace