SyndicationItemFormatter.CreatePerson(SyndicationItem) 方法

定义

使用指定的 SyndicationPerson 实例创建新 SyndicationItem 实例。

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

参数

item
SyndicationItem

用于创建新 SyndicationItem 实例的 SyndicationPerson 实例。

返回

SyndicationPerson

SyndicationPerson 实例。

注解

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

适用于