Editar

Partilhar via


ResourceCollectionInfo Constructors

Definition

Creates a new instance of the ResourceCollectionInfo class.

Overloads

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.

ResourceCollectionInfo()

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

ResourceCollectionInfo(TextSyndicationContent, Uri)

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

ResourceCollectionInfo(String, Uri)

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

ResourceCollectionInfo(TextSyndicationContent, Uri, IEnumerable<CategoriesDocument>, Boolean)

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

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