语言

ServiceDocumentFormatter.CreateCategory(InlineCategoriesDocument) 方法

定义

创建类的新实例 SyndicationCategory 。

protected:
 static System::ServiceModel::Syndication::SyndicationCategory ^ CreateCategory(System::ServiceModel::Syndication::InlineCategoriesDocument ^ inlineCategories);
protected static System.ServiceModel.Syndication.SyndicationCategory CreateCategory(System.ServiceModel.Syndication.InlineCategoriesDocument inlineCategories);
static member CreateCategory : System.ServiceModel.Syndication.InlineCategoriesDocument -> System.ServiceModel.Syndication.SyndicationCategory
Protected Shared Function CreateCategory (inlineCategories As InlineCategoriesDocument) As SyndicationCategory

参数

inlineCategories
InlineCategoriesDocument

InlineCategoriesDocument用于创建新类别文档的实例。

返回

返回一个新 SyndicationCategory 实例。

适用于