Clone Method

SyndicationItem.Clone Method ()

 

Creates a copy of the SyndicationItem instance.

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

public virtual SyndicationItem Clone()

The following code shows how to clone an instance of the SyndicationItem class.

SyndicationItem item = new SyndicationItem("Item Title", "Item Content", new Uri("http://Item/Alternate/Link"), "itemID", DateTimeOffset.Now);
SyndicationItem clone = item.Clone();

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