SyndicationFeedFormatter.CreateCategory Method
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.
CreateCategory(SyndicationFeed) |
Creates a new instance of the SyndicationCategory class using the specified SyndicationFeed instance. |
CreateCategory(SyndicationItem) |
Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance. |
- Source:
- SyndicationFeedFormatter.cs
- Source:
- SyndicationFeedFormatter.cs
- Source:
- SyndicationFeedFormatter.cs
Creates a new instance of the SyndicationCategory class using the specified SyndicationFeed instance.
protected public:
static System::ServiceModel::Syndication::SyndicationCategory ^ CreateCategory(System::ServiceModel::Syndication::SyndicationFeed ^ feed);
protected internal static System.ServiceModel.Syndication.SyndicationCategory CreateCategory (System.ServiceModel.Syndication.SyndicationFeed feed);
static member CreateCategory : System.ServiceModel.Syndication.SyndicationFeed -> System.ServiceModel.Syndication.SyndicationCategory
Protected Friend Shared Function CreateCategory (feed As SyndicationFeed) As SyndicationCategory
Parameters
- feed
- SyndicationFeed
The SyndicationFeed used to create the new SyndicationCategory.
Returns
A new SyndicationCategory instance.
Remarks
The newly created SyndicationCategory instance is not automatically added to the SyndicationFeed instance used to create it.
Applies to
.NET 9 (package-provided) og andre versioner
Produkt | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- SyndicationFeedFormatter.cs
- Source:
- SyndicationFeedFormatter.cs
- Source:
- SyndicationFeedFormatter.cs
Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.
protected public:
static System::ServiceModel::Syndication::SyndicationCategory ^ CreateCategory(System::ServiceModel::Syndication::SyndicationItem ^ item);
protected internal static System.ServiceModel.Syndication.SyndicationCategory CreateCategory (System.ServiceModel.Syndication.SyndicationItem item);
static member CreateCategory : System.ServiceModel.Syndication.SyndicationItem -> System.ServiceModel.Syndication.SyndicationCategory
Protected Friend 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
.NET 9 (package-provided) og andre versioner
Produkt | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET er et åben kildekode projekt. Vælg et link for at give feedback: