SyndicationFeedFormatter.CreateLink Method

Definition

Creates a new instance of the SyndicationLink class.

Overloads

CreateLink(SyndicationFeed)

Creates a new instance of the SyndicationLink class with the specified SyndicationFeed.

CreateLink(SyndicationItem)

Creates a new instance of the SyndicationLink class with the specified SyndicationItem.

Creates a new instance of the SyndicationLink class with the specified SyndicationFeed.

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

Parameters

feed
SyndicationFeed

The SyndicationFeed to use to create the new SyndicationLink.

Returns

SyndicationLink

A new SyndicationLink instance.

Remarks

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

Creates a new instance of the SyndicationLink class with the specified SyndicationItem.

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

Parameters

item
SyndicationItem

The SyndicationItem to use to create the new SyndicationLink.

Returns

SyndicationLink

A new SyndicationLink instance.

Remarks

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

Applies to