SyndicationPerson.Clone Método

Definición

Crea una copia de la instancia de SyndicationPerson existente.

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

Devoluciones

Nueva instancia de SyndicationPerson.

Ejemplos

El código siguiente muestra cómo clonar una instancia 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()

Se aplica a