SyndicationFeed Constructor (SyndicationFeed, Boolean)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a new instance of the SyndicationFeed class with the specified feed.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Protected Sub New ( _
source As SyndicationFeed, _
cloneItems As Boolean _
)
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.
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.