SyndicationItem.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a copy of the SyndicationItem instance.
public:
virtual System::ServiceModel::Syndication::SyndicationItem ^ Clone();
public virtual System.ServiceModel.Syndication.SyndicationItem Clone ();
abstract member Clone : unit -> System.ServiceModel.Syndication.SyndicationItem
override this.Clone : unit -> System.ServiceModel.Syndication.SyndicationItem
Public Overridable Function Clone () As SyndicationItem
Returns
A SyndicationItem instance.
Examples
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();
Dim item As New SyndicationItem("Item Title", "Item Content", New Uri("http:' Item/Alternate/Link"), "itemID", DateTimeOffset.Now)
Dim clone As SyndicationItem = item.Clone()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.