Aracılığıyla paylaş


SyndicationFeed.Clone Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates a copy of the SyndicationFeed instance.

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

Syntax

'Declaration
Public Overridable Function Clone ( _
    cloneItems As Boolean _
) As SyndicationFeed
public virtual SyndicationFeed Clone(
    bool cloneItems
)

Parameters

Return Value

Type: System.ServiceModel.Syndication.SyndicationFeed
A duplicate SyndicationFeed object.

Remarks

If the cloneItems parameter is true, all items within the SyndicationFeed object are cloned; otherwise, the new SyndicationFeed instance's items collection contain references to the original SyndicationFeed instance's items.

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.