다음을 통해 공유


SyndicationPerson.Clone 메서드

정의

기존 SyndicationPerson 인스턴스의 복사본을 만듭니다.

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

반환

SyndicationPerson

SyndicationPerson 인스턴스입니다.

예제

다음 코드는 인스턴스를 복제 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()

적용 대상