This documentation is archived and is not being maintained.
TextSyndicationContent Class
Visual Studio 2008
Represents any SyndicationItem content intended to be displayed to an end user.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
The following example demonstrates how to use the TextSyndicationContent class.
Dim feed As SyndicationFeed = New SyndicationFeed("Feed Title", "Feed Description", New Uri("http://Feed/Alternate/Link"), "FeedID", DateTime.Now) feed.Copyright = New TextSyndicationContent("Copyright 2007") feed.Description = New TextSyndicationContent("This is a sample feed") Dim textContent As TextSyndicationContent = New TextSyndicationContent("Some text content") Dim item As SyndicationItem = New SyndicationItem("Item Title", textContent, New Uri("http://server/items"), "ItemID", DateTime.Now)
System.Object
System.ServiceModel.Syndication.SyndicationContent
System.ServiceModel.Syndication.TextSyndicationContent
System.ServiceModel.Syndication.SyndicationContent
System.ServiceModel.Syndication.TextSyndicationContent
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: