Editar

Partilhar via


SyndicationItemFormatter.CreateCategory(SyndicationItem) Method

Definition

Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.

protected:
 static System::ServiceModel::Syndication::SyndicationCategory ^ CreateCategory(System::ServiceModel::Syndication::SyndicationItem ^ item);
protected static System.ServiceModel.Syndication.SyndicationCategory CreateCategory (System.ServiceModel.Syndication.SyndicationItem item);
static member CreateCategory : System.ServiceModel.Syndication.SyndicationItem -> System.ServiceModel.Syndication.SyndicationCategory
Protected Shared Function CreateCategory (item As SyndicationItem) As SyndicationCategory

Parameters

item
SyndicationItem

The SyndicationItem used to create the SyndicationCategory.

Returns

A new SyndicationCategory instance.

Remarks

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

Applies to