SyndicationItemFormatter.CreateLink(SyndicationItem) 方法

定义

创建 SyndicationLink 类的新实例。

protected:
 static System::ServiceModel::Syndication::SyndicationLink ^ CreateLink(System::ServiceModel::Syndication::SyndicationItem ^ item);
protected public:
 static System::ServiceModel::Syndication::SyndicationLink ^ CreateLink(System::ServiceModel::Syndication::SyndicationItem ^ item);
protected 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 Shared Function CreateLink (item As SyndicationItem) As SyndicationLink
Protected Friend Shared Function CreateLink (item As SyndicationItem) As SyndicationLink

参数

item
SyndicationItem

要用于创建新 SyndicationItemSyndicationLink

返回

SyndicationLink

SyndicationLink 实例。

注解

新创建的 SyndicationLink 实例未自动添加到用于创建它的 SyndicationItem 实例。

适用于