AtomPub10CategoriesDocumentFormatter Конструкторы

Определение

Создает новый экземпляр класса AtomPub10CategoriesDocumentFormatter.

Перегрузки

AtomPub10CategoriesDocumentFormatter()

Создает новый экземпляр класса AtomPub10CategoriesDocumentFormatter.

AtomPub10CategoriesDocumentFormatter(CategoriesDocument)

Создает новый экземпляр класса AtomPub10CategoriesDocumentFormatter с указанным CategoriesDocument.

AtomPub10CategoriesDocumentFormatter(Type, Type)

Создает новый экземпляр класса AtomPub10CategoriesDocumentFormatter с указанным CategoriesDocument.

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).

Применяется к