CategoriesDocumentFormatter 构造函数

定义

创建 CategoriesDocumentFormatter 类的新实例。Creates a new instance of the CategoriesDocumentFormatter class.

重载

CategoriesDocumentFormatter()

创建 CategoriesDocumentFormatter 类的新实例。Creates a new instance of the CategoriesDocumentFormatter class.

CategoriesDocumentFormatter(CategoriesDocument)

使用指定的 CategoriesDocumentFormatter 创建 CategoriesDocument 类的新实例。Creates a new instance of the CategoriesDocumentFormatter class with the specified CategoriesDocument.

CategoriesDocumentFormatter()

创建 CategoriesDocumentFormatter 类的新实例。Creates a new instance of the CategoriesDocumentFormatter class.

protected:
 CategoriesDocumentFormatter();
protected CategoriesDocumentFormatter ();
Protected Sub New ()

适用于

CategoriesDocumentFormatter(CategoriesDocument)

使用指定的 CategoriesDocumentFormatter 创建 CategoriesDocument 类的新实例。Creates a new instance of the CategoriesDocumentFormatter class with the specified CategoriesDocument.

protected:
 CategoriesDocumentFormatter(System::ServiceModel::Syndication::CategoriesDocument ^ documentToWrite);
protected CategoriesDocumentFormatter (System.ServiceModel.Syndication.CategoriesDocument documentToWrite);
new System.ServiceModel.Syndication.CategoriesDocumentFormatter : System.ServiceModel.Syndication.CategoriesDocument -> System.ServiceModel.Syndication.CategoriesDocumentFormatter
Protected Sub New (documentToWrite As CategoriesDocument)

参数

documentToWrite
CategoriesDocument

要序列化的 CategoriesDocumentThe CategoriesDocument to serialize.

适用于