SyndicationItemFormatter.CreateCategory(SyndicationItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.