SyndicationFeed Constructor (SyndicationFeed, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of the SyndicationFeed class with the specified feed.

Namespace:   System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected SyndicationFeed(
	SyndicationFeed source,
	bool cloneItems
)

Parameters

source
Type: System.ServiceModel.Syndication.SyndicationFeed

The SyndicationFeed used to initialize the new instance.

cloneItems
Type: System.Boolean

A value that specifies whether to clone the items in the source instance.

If the cloneItems parameter is true, all SyndicationItem instances in the source SyndicationFeed instance are cloned and added to the Items collection of the new SyndicationFeed instance. If the cloneItems parameter is false, the Items collection of the new SyndicationFeed instance contains references to the existing SyndicationItem instances.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: