SyndicationPerson.Clone Metodo

Definizione

Crea una copia dell'istanza di SyndicationPerson esistente.

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

Restituisce

SyndicationPerson

Nuova istanza di SyndicationPerson.

Esempio

Nel codice seguente viene illustrato come duplicare un'istanza di SyndicationPerson.

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()

Si applica a