SyndicationItemFormatter.CreateCategory Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Protected Shared Function CreateCategory ( _
item As SyndicationItem _
) As SyndicationCategory
protected static SyndicationCategory CreateCategory(
SyndicationItem item
)
Parameters
- item
Type: System.ServiceModel.Syndication.SyndicationItem
The SyndicationItem used to create the SyndicationCategory.
Return Value
Type: System.ServiceModel.Syndication.SyndicationCategory
A new SyndicationCategory instance.
Remarks
The newly created SyndicationCategory instance is not automatically added to the SyndicationItem instance used to create it.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.