SyndicationFeedFormatter.CreateCategory Method

Definition

Creates a new instance of the SyndicationCategory class.

Overloads

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.

CreateCategory(SyndicationFeed)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Creates a new instance of the SyndicationCategory class using the specified SyndicationFeed instance.

protected internal static System.ServiceModel.Syndication.SyndicationCategory CreateCategory (System.ServiceModel.Syndication.SyndicationFeed feed);

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)

CreateCategory(SyndicationItem)

Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs
Source:
SyndicationFeedFormatter.cs

Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.

protected internal static System.ServiceModel.Syndication.SyndicationCategory CreateCategory (System.ServiceModel.Syndication.SyndicationItem item);

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)