SyndicationFeed.CreateCategory 方法

定义

创建一个新的 SyndicationCategory 实例。

protected public:
 virtual System::ServiceModel::Syndication::SyndicationCategory ^ CreateCategory();
protected internal virtual System.ServiceModel.Syndication.SyndicationCategory CreateCategory ();
abstract member CreateCategory : unit -> System.ServiceModel.Syndication.SyndicationCategory
override this.CreateCategory : unit -> System.ServiceModel.Syndication.SyndicationCategory
Protected Friend Overridable Function CreateCategory () As SyndicationCategory

返回

SyndicationCategory

SyndicationCategory 实例。

注解

此方法不会将 SyndicationCategory 对象添加到 Categories 集合。

适用于