ResourceCollectionInfo Constructors
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 ResourceCollectionInfo class.
ResourceCollectionInfo() |
Creates a new instance of the ResourceCollectionInfo class. |
ResourceCollectionInfo(TextSyndicationContent, Uri) |
Creates a new instance of the ResourceCollectionInfo class. |
ResourceCollectionInfo(String, Uri) |
Creates a new instance of the ResourceCollectionInfo class. |
ResourceCollectionInfo(TextSyndicationContent, Uri, IEnumerable<CategoriesDocument>, Boolean) |
Creates a new instance of the ResourceCollectionInfo class. |
ResourceCollectionInfo(TextSyndicationContent, Uri, IEnumerable<CategoriesDocument>, IEnumerable<String>) |
Creates a new instance of the ResourceCollectionInfo class. |
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
Creates a new instance of the ResourceCollectionInfo class.
public:
ResourceCollectionInfo();
public ResourceCollectionInfo ();
Public Sub New ()
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
Creates a new instance of the ResourceCollectionInfo class.
public:
ResourceCollectionInfo(System::ServiceModel::Syndication::TextSyndicationContent ^ title, Uri ^ link);
public ResourceCollectionInfo (System.ServiceModel.Syndication.TextSyndicationContent title, Uri link);
new System.ServiceModel.Syndication.ResourceCollectionInfo : System.ServiceModel.Syndication.TextSyndicationContent * Uri -> System.ServiceModel.Syndication.ResourceCollectionInfo
Public Sub New (title As TextSyndicationContent, link As Uri)
Parameters
- title
- TextSyndicationContent
The title of the collection.
- link
- Uri
The URI of the collection.
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
Creates a new instance of the ResourceCollectionInfo class.
public:
ResourceCollectionInfo(System::String ^ title, Uri ^ link);
public ResourceCollectionInfo (string title, Uri link);
new System.ServiceModel.Syndication.ResourceCollectionInfo : string * Uri -> System.ServiceModel.Syndication.ResourceCollectionInfo
Public Sub New (title As String, link As Uri)
Parameters
- title
- String
The title of the collection.
- link
- Uri
The URI of the collection.
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
Creates a new instance of the ResourceCollectionInfo class.
public:
ResourceCollectionInfo(System::ServiceModel::Syndication::TextSyndicationContent ^ title, Uri ^ link, System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::CategoriesDocument ^> ^ categories, bool allowsNewEntries);
public ResourceCollectionInfo (System.ServiceModel.Syndication.TextSyndicationContent title, Uri link, System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.CategoriesDocument> categories, bool allowsNewEntries);
new System.ServiceModel.Syndication.ResourceCollectionInfo : System.ServiceModel.Syndication.TextSyndicationContent * Uri * seq<System.ServiceModel.Syndication.CategoriesDocument> * bool -> System.ServiceModel.Syndication.ResourceCollectionInfo
Public Sub New (title As TextSyndicationContent, link As Uri, categories As IEnumerable(Of CategoriesDocument), allowsNewEntries As Boolean)
Parameters
- title
- TextSyndicationContent
The title of the collection.
- link
- Uri
The URI of the collection.
- categories
- IEnumerable<CategoriesDocument>
A collection of categories documents.
- allowsNewEntries
- Boolean
A value that specifies whether new <accept
> elements can be added to the collection.
Remarks
<accept>
elements specify the type of resources that can be added to a collection.
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
ResourceCollectionInfo(TextSyndicationContent, Uri, IEnumerable<CategoriesDocument>, IEnumerable<String>)
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
- Source:
- ResourceCollectionInfo.cs
Creates a new instance of the ResourceCollectionInfo class.
public:
ResourceCollectionInfo(System::ServiceModel::Syndication::TextSyndicationContent ^ title, Uri ^ link, System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::CategoriesDocument ^> ^ categories, System::Collections::Generic::IEnumerable<System::String ^> ^ accepts);
public ResourceCollectionInfo (System.ServiceModel.Syndication.TextSyndicationContent title, Uri link, System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.CategoriesDocument> categories, System.Collections.Generic.IEnumerable<string> accepts);
new System.ServiceModel.Syndication.ResourceCollectionInfo : System.ServiceModel.Syndication.TextSyndicationContent * Uri * seq<System.ServiceModel.Syndication.CategoriesDocument> * seq<string> -> System.ServiceModel.Syndication.ResourceCollectionInfo
Public Sub New (title As TextSyndicationContent, link As Uri, categories As IEnumerable(Of CategoriesDocument), accepts As IEnumerable(Of String))
Parameters
- title
- TextSyndicationContent
The title of the collection.
- link
- Uri
The URI of the collection.
- categories
- IEnumerable<CategoriesDocument>
A collection of categories documents.
- accepts
- IEnumerable<String>
A collection of resource types that can be added to the collection.
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 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: