CategoriesDocument.Create CategoriesDocument.Create CategoriesDocument.Create CategoriesDocument.Create Method

Definition

Creates a new CategoriesDocument instance.

Overloads

Create(Collection<SyndicationCategory>) Create(Collection<SyndicationCategory>) Create(Collection<SyndicationCategory>) Create(Collection<SyndicationCategory>)

Creates a new CategoriesDocument instance.

Create(Uri) Create(Uri) Create(Uri) Create(Uri)

Creates a new instance of the CategoriesDocument initializing it with the specified Uri.

Create(Collection<SyndicationCategory>, Boolean, String) Create(Collection<SyndicationCategory>, Boolean, String) Create(Collection<SyndicationCategory>, Boolean, String) Create(Collection<SyndicationCategory>, Boolean, String)

Creates a new instance of the CategoriesDocument class.

Create(Collection<SyndicationCategory>) Create(Collection<SyndicationCategory>) Create(Collection<SyndicationCategory>) Create(Collection<SyndicationCategory>)

Creates a new CategoriesDocument instance.

public:
 static System::ServiceModel::Syndication::InlineCategoriesDocument ^ Create(System::Collections::ObjectModel::Collection<System::ServiceModel::Syndication::SyndicationCategory ^> ^ categories);
public static System.ServiceModel.Syndication.InlineCategoriesDocument Create (System.Collections.ObjectModel.Collection<System.ServiceModel.Syndication.SyndicationCategory> categories);
static member Create : System.Collections.ObjectModel.Collection<System.ServiceModel.Syndication.SyndicationCategory> -> System.ServiceModel.Syndication.InlineCategoriesDocument
Public Shared Function Create (categories As Collection(Of SyndicationCategory)) As InlineCategoriesDocument

Parameters

categories
Collection<SyndicationCategory>

A collection of SyndicationCategory instances used to initialize the new CategoriesDocument instance.

Returns

Create(Uri) Create(Uri) Create(Uri) Create(Uri)

Creates a new instance of the CategoriesDocument initializing it with the specified Uri.

public:
 static System::ServiceModel::Syndication::ReferencedCategoriesDocument ^ Create(Uri ^ linkToCategoriesDocument);
public static System.ServiceModel.Syndication.ReferencedCategoriesDocument Create (Uri linkToCategoriesDocument);
static member Create : Uri -> System.ServiceModel.Syndication.ReferencedCategoriesDocument
Public Shared Function Create (linkToCategoriesDocument As Uri) As ReferencedCategoriesDocument

Parameters

linkToCategoriesDocument
Uri Uri Uri Uri

The URI of the categories document.

Returns

Create(Collection<SyndicationCategory>, Boolean, String) Create(Collection<SyndicationCategory>, Boolean, String) Create(Collection<SyndicationCategory>, Boolean, String) Create(Collection<SyndicationCategory>, Boolean, String)

Creates a new instance of the CategoriesDocument class.

public:
 static System::ServiceModel::Syndication::InlineCategoriesDocument ^ Create(System::Collections::ObjectModel::Collection<System::ServiceModel::Syndication::SyndicationCategory ^> ^ categories, bool isFixed, System::String ^ scheme);
public static System.ServiceModel.Syndication.InlineCategoriesDocument Create (System.Collections.ObjectModel.Collection<System.ServiceModel.Syndication.SyndicationCategory> categories, bool isFixed, string scheme);
static member Create : System.Collections.ObjectModel.Collection<System.ServiceModel.Syndication.SyndicationCategory> * bool * string -> System.ServiceModel.Syndication.InlineCategoriesDocument
Public Shared Function Create (categories As Collection(Of SyndicationCategory), isFixed As Boolean, scheme As String) As InlineCategoriesDocument

Parameters

categories
Collection<SyndicationCategory>

A collection of categories.

isFixed
Boolean Boolean Boolean Boolean

A value that specifies whether a user can add a category to the categories document.

scheme
String String String String

The scheme of the categories document.

Returns

Remarks

If the isFixed parameter is set to true, the categories contained within the categories document are immutable. If the isFixed parameter is set to true, additional categories can be added to the categories document.

Applies to