Editar

Compartilhar via


SyndicationFeedFormatter.CreatePerson Method

Definition

Creates a new SyndicationPerson instance.

Overloads

CreatePerson(SyndicationFeed)

Creates a new SyndicationPerson instance with the specified SyndicationFeed instance.

CreatePerson(SyndicationItem)

Creates a new SyndicationPerson instance with the specified SyndicationItem instance.

CreatePerson(SyndicationFeed)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Creates a new SyndicationPerson instance with the specified SyndicationFeed instance.

protected public:
 static System::ServiceModel::Syndication::SyndicationPerson ^ CreatePerson(System::ServiceModel::Syndication::SyndicationFeed ^ feed);
protected internal static System.ServiceModel.Syndication.SyndicationPerson CreatePerson (System.ServiceModel.Syndication.SyndicationFeed feed);
static member CreatePerson : System.ServiceModel.Syndication.SyndicationFeed -> System.ServiceModel.Syndication.SyndicationPerson
Protected Friend Shared Function CreatePerson (feed As SyndicationFeed) As SyndicationPerson

Parameters

feed
SyndicationFeed

The SyndicationFeed instance used to create the new SyndicationPerson instance.

Returns

A new SyndicationPerson instance.

Remarks

The newly created SyndicationPerson instance is not automatically added to the SyndicationFeed instance used to create it.

Applies to

CreatePerson(SyndicationItem)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Creates a new SyndicationPerson instance with the specified SyndicationItem instance.

protected public:
 static System::ServiceModel::Syndication::SyndicationPerson ^ CreatePerson(System::ServiceModel::Syndication::SyndicationItem ^ item);
protected internal static System.ServiceModel.Syndication.SyndicationPerson CreatePerson (System.ServiceModel.Syndication.SyndicationItem item);
static member CreatePerson : System.ServiceModel.Syndication.SyndicationItem -> System.ServiceModel.Syndication.SyndicationPerson
Protected Friend Shared Function CreatePerson (item As SyndicationItem) As SyndicationPerson

Parameters

item
SyndicationItem

The SyndicationItem instance used to create the new SyndicationPerson instance.

Returns

A new SyndicationPerson instance.

Remarks

The newly created SyndicationPerson instance is not automatically added to the SyndicationItem instance used to create it.

Applies to