CategoriesDocument.Create Method
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 CategoriesDocument instance.
Create(Collection<SyndicationCategory>) |
Creates a new CategoriesDocument instance. |
Create(Uri) |
Creates a new instance of the CategoriesDocument initializing it with the specified Uri. |
Create(Collection<SyndicationCategory>, Boolean, String) |
Creates a new instance of the CategoriesDocument class. |
- Source:
- CategoriesDocument.cs
- Source:
- CategoriesDocument.cs
- Source:
- CategoriesDocument.cs
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
Returns InlineCategoriesDocument.
Applies to
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- CategoriesDocument.cs
- Source:
- CategoriesDocument.cs
- Source:
- CategoriesDocument.cs
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
The URI of the categories document.
Returns
Returns ReferencedCategoriesDocument.
Applies to
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- CategoriesDocument.cs
- Source:
- CategoriesDocument.cs
- Source:
- CategoriesDocument.cs
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
A value that specifies whether a user can add a category to the categories document.
- scheme
- String
The scheme of the categories document.
Returns
Returns InlineCategoriesDocument.
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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: