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

返回新的 SyndicationCategory 实例。

适用于