SyndicationFeedFormatter.CreateCategory Method (SyndicationFeed)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a new instance of the SyndicationCategory class using the specified SyndicationFeed instance.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Protected Friend Shared Function CreateCategory ( _
feed As SyndicationFeed _
) As SyndicationCategory
protected internal static SyndicationCategory CreateCategory(
SyndicationFeed feed
)
Parameters
- feed
Type: System.ServiceModel.Syndication.SyndicationFeed
The SyndicationFeed used to create the new SyndicationCategory.
Return Value
Type: System.ServiceModel.Syndication.SyndicationCategory
A new SyndicationCategory instance.
Remarks
The newly created SyndicationCategory instance is not automatically added to the SyndicationFeed 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.