Redigera

Dela via


SyndicationFeedFormatter.CreateItem(SyndicationFeed) Method

Definition

Creates a new instance of the SyndicationItem class using the specified SyndicationFeed instance.

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

Parameters

feed
SyndicationFeed

The SyndicationFeed used to create the SyndicationItem.

Returns

A new SyndicationItem instance.

Remarks

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

Applies to