Bewerken

Delen via


SyndicationPerson.Clone Method

Definition

Creates a copy of the existing SyndicationPerson instance.

public:
 virtual System::ServiceModel::Syndication::SyndicationPerson ^ Clone();
public virtual System.ServiceModel.Syndication.SyndicationPerson Clone ();
abstract member Clone : unit -> System.ServiceModel.Syndication.SyndicationPerson
override this.Clone : unit -> System.ServiceModel.Syndication.SyndicationPerson
Public Overridable Function Clone () As SyndicationPerson

Returns

A new SyndicationPerson instance.

Examples

The following code shows how to clone a SyndicationPerson instance.

SyndicationPerson sp = new SyndicationPerson("jesper@contoso.com", "Jesper Aaberg", "http://Jesper/Aaberg");
SyndicationPerson copy = sp.Clone();
Dim sp As New SyndicationPerson("jesper@contoso.com", "Jesper Aaberg", "http:' Jesper/Aaberg")
Dim copy As SyndicationPerson = sp.Clone()

Applies to