SyndicationFeedFormatter.CreateCategory 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.
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
- 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
CreateCategory(SyndicationItem)
- Source:
- SyndicationFeedFormatter.cs
- 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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기