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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.