AtomPub10CategoriesDocumentFormatter 构造函数

定义

创建类的新实例 AtomPub10CategoriesDocumentFormatter

重载

AtomPub10CategoriesDocumentFormatter()

创建类的新实例 AtomPub10CategoriesDocumentFormatter

public:
 AtomPub10CategoriesDocumentFormatter();
public AtomPub10CategoriesDocumentFormatter();
Public Sub New ()

适用于

AtomPub10CategoriesDocumentFormatter(CategoriesDocument)

使用指定的AtomPub10CategoriesDocumentFormatter值创建类的新实例CategoriesDocument

public:
 AtomPub10CategoriesDocumentFormatter(System::ServiceModel::Syndication::CategoriesDocument ^ documentToWrite);
public AtomPub10CategoriesDocumentFormatter(System.ServiceModel.Syndication.CategoriesDocument documentToWrite);
new System.ServiceModel.Syndication.AtomPub10CategoriesDocumentFormatter : System.ServiceModel.Syndication.CategoriesDocument -> System.ServiceModel.Syndication.AtomPub10CategoriesDocumentFormatter
Public Sub New (documentToWrite As CategoriesDocument)

参数

documentToWrite
CategoriesDocument

CategoriesDocument 序列化的。

适用于

AtomPub10CategoriesDocumentFormatter(Type, Type)

使用指定的AtomPub10CategoriesDocumentFormatter值创建类的新实例CategoriesDocument

public:
 AtomPub10CategoriesDocumentFormatter(Type ^ inlineDocumentType, Type ^ referencedDocumentType);
public AtomPub10CategoriesDocumentFormatter(Type inlineDocumentType, Type referencedDocumentType);
new System.ServiceModel.Syndication.AtomPub10CategoriesDocumentFormatter : Type * Type -> System.ServiceModel.Syndication.AtomPub10CategoriesDocumentFormatter
Public Sub New (inlineDocumentType As Type, referencedDocumentType As Type)

参数

inlineDocumentType
Type

InlineCategoriesDocument可以序列化为<atom:categories>服务文档中的元素,并在元素中指定类别集。

referencedDocumentType
Type

ReferencedCategoriesDocument可以序列化为服务文档中的<atom:categories>元素,并使用 URI 引用类别集。

适用于