SyndicationItemFormatter.CreateLink(SyndicationItem) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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
要用于创建新 SyndicationItem 的 SyndicationLink。
返回
新 SyndicationLink 实例。
注解
新创建的 SyndicationLink 实例未自动添加到用于创建它的 SyndicationItem 实例。