AtomPub10CategoriesDocumentFormatter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the AtomPub10CategoriesDocumentFormatter class.
Overloads
AtomPub10CategoriesDocumentFormatter() |
Creates a new instance of the AtomPub10CategoriesDocumentFormatter class. |
AtomPub10CategoriesDocumentFormatter(CategoriesDocument) |
Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified CategoriesDocument. |
AtomPub10CategoriesDocumentFormatter(Type, Type) |
Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified CategoriesDocument. |
AtomPub10CategoriesDocumentFormatter()
Creates a new instance of the AtomPub10CategoriesDocumentFormatter class.
public:
AtomPub10CategoriesDocumentFormatter();
public AtomPub10CategoriesDocumentFormatter ();
Public Sub New ()
Applies to
AtomPub10CategoriesDocumentFormatter(CategoriesDocument)
Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified 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)
Parameters
- documentToWrite
- CategoriesDocument
The CategoriesDocument to serialize.
Applies to
AtomPub10CategoriesDocumentFormatter(Type, Type)
Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified 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)
Parameters
- inlineDocumentType
- Type
An InlineCategoriesDocument that can be serialized into an <atom:categories
> element within a service document and the set of categories are specified within the element.
- referencedDocumentType
- Type
An ReferencedCategoriesDocument that can be serialized into an <atom:categories
> element within a service document and the set of categories are referenced using an URI.