共用方式為


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 執行個體。

適用於