Editar

Compartilhar via


SyndicationPerson Constructors

Definition

Initializes a new SyndicationPerson instance.

Overloads

SyndicationPerson()

Initializes a new SyndicationPerson instance.

SyndicationPerson(SyndicationPerson)

Initializes a new instance of the SyndicationPerson class with the specified instance.

SyndicationPerson(String)

Initializes a new SyndicationPerson instance with the specified email address.

SyndicationPerson(String, String, String)

Initializes a new SyndicationPerson instance with the specified email address, name, and Uniform Resource Identifier (URI).

SyndicationPerson()

Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs

Initializes a new SyndicationPerson instance.

public:
 SyndicationPerson();
public SyndicationPerson ();
Public Sub New ()

Applies to

SyndicationPerson(SyndicationPerson)

Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs

Initializes a new instance of the SyndicationPerson class with the specified instance.

protected:
 SyndicationPerson(System::ServiceModel::Syndication::SyndicationPerson ^ source);
protected SyndicationPerson (System.ServiceModel.Syndication.SyndicationPerson source);
new System.ServiceModel.Syndication.SyndicationPerson : System.ServiceModel.Syndication.SyndicationPerson -> System.ServiceModel.Syndication.SyndicationPerson
Protected Sub New (source As SyndicationPerson)

Parameters

source
SyndicationPerson

The SyndicationPerson instance to initialize the new instance.

Applies to

SyndicationPerson(String)

Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs

Initializes a new SyndicationPerson instance with the specified email address.

public:
 SyndicationPerson(System::String ^ email);
public SyndicationPerson (string email);
new System.ServiceModel.Syndication.SyndicationPerson : string -> System.ServiceModel.Syndication.SyndicationPerson
Public Sub New (email As String)

Parameters

email
String

The email address of the person.

Examples

The following example shows how to call this constructor.

SyndicationPerson person = new SyndicationPerson("lene@company.com");
Dim person As SyndicationPerson = New SyndicationPerson("lene@company.com")

Applies to

SyndicationPerson(String, String, String)

Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs
Source:
SyndicationPerson.cs

Initializes a new SyndicationPerson instance with the specified email address, name, and Uniform Resource Identifier (URI).

public:
 SyndicationPerson(System::String ^ email, System::String ^ name, System::String ^ uri);
public SyndicationPerson (string email, string name, string uri);
new System.ServiceModel.Syndication.SyndicationPerson : string * string * string -> System.ServiceModel.Syndication.SyndicationPerson
Public Sub New (email As String, name As String, uri As String)

Parameters

email
String

The email address of the person.

name
String

The name of the person.

uri
String

The URI of the person's Web page.

Examples

The following example shows how to call this constructor.

SyndicationPerson person2 = new SyndicationPerson("lene@company.com", "Lene Aalling", "http://lene/Aalling");
Dim person2 As SyndicationPerson = New SyndicationPerson("lene@company.com", "Lene Aalling", "http://lene/Aalling")

Applies to