ResourceCollectionInfo 构造函数

定义

创建 ResourceCollectionInfo 类的新实例。Creates a new instance of the ResourceCollectionInfo class.

重载

ResourceCollectionInfo()

创建 ResourceCollectionInfo 类的新实例。Creates a new instance of the ResourceCollectionInfo class.

ResourceCollectionInfo(TextSyndicationContent, Uri)

创建 ResourceCollectionInfo 类的新实例。Creates a new instance of the ResourceCollectionInfo class.

ResourceCollectionInfo(String, Uri)

创建 ResourceCollectionInfo 类的新实例。Creates a new instance of the ResourceCollectionInfo class.

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

创建 ResourceCollectionInfo 类的新实例。Creates a new instance of the ResourceCollectionInfo class.

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

创建 ResourceCollectionInfo 类的新实例。Creates a new instance of the ResourceCollectionInfo class.

ResourceCollectionInfo()

创建 ResourceCollectionInfo 类的新实例。Creates a new instance of the ResourceCollectionInfo class.

public:
 ResourceCollectionInfo();
public ResourceCollectionInfo ();
Public Sub New ()

适用于

ResourceCollectionInfo(TextSyndicationContent, Uri)

创建 ResourceCollectionInfo 类的新实例。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)

参数

title
TextSyndicationContent

集合的标题。The title of the collection.

link
Uri

集合的 URI。The URI of the collection.

适用于

ResourceCollectionInfo(String, Uri)

创建 ResourceCollectionInfo 类的新实例。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)

参数

title
String

集合的标题。The title of the collection.

link
Uri

集合的 URI。The URI of the collection.

适用于

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

创建 ResourceCollectionInfo 类的新实例。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)

参数

title
TextSyndicationContent

集合的标题。The title of the collection.

link
Uri

集合的 URI。The URI of the collection.

categories
IEnumerable<CategoriesDocument>

类别文档的集合。A collection of categories documents.

allowsNewEntries
Boolean

用于指定是否可将新 <accept> 元素添加到集合的值。A value that specifies whether new <accept> elements can be added to the collection.

注解

<accept> 元素指定可以添加到集合的资源的类型。<accept> elements specify the type of resources that can be added to a collection.

适用于

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

创建 ResourceCollectionInfo 类的新实例。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))

参数

title
TextSyndicationContent

集合的标题。The title of the collection.

link
Uri

集合的 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.

适用于