ResourceCollectionInfo 构造函数

定义

创建 ResourceCollectionInfo 类的新实例。

重载

ResourceCollectionInfo()

创建 ResourceCollectionInfo 类的新实例。

ResourceCollectionInfo(TextSyndicationContent, Uri)

创建 ResourceCollectionInfo 类的新实例。

ResourceCollectionInfo(String, Uri)

创建 ResourceCollectionInfo 类的新实例。

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

创建 ResourceCollectionInfo 类的新实例。

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

创建 ResourceCollectionInfo 类的新实例。

ResourceCollectionInfo()

创建 ResourceCollectionInfo 类的新实例。

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

适用于

ResourceCollectionInfo(TextSyndicationContent, Uri)

创建 ResourceCollectionInfo 类的新实例。

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

集合的标题。

link
Uri

集合的 URI。

适用于

ResourceCollectionInfo(String, Uri)

创建 ResourceCollectionInfo 类的新实例。

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

集合的标题。

link
Uri

集合的 URI。

适用于

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

创建 ResourceCollectionInfo 类的新实例。

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

集合的标题。

link
Uri

集合的 URI。

categories
IEnumerable<CategoriesDocument>

类别文档的集合。

allowsNewEntries
Boolean

用于指定是否可将新 <accept> 元素添加到集合的值。

注解

<accept> 元素指定可添加到集合中的资源类型。

适用于

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

创建 ResourceCollectionInfo 类的新实例。

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

集合的标题。

link
Uri

集合的 URI。

categories
IEnumerable<CategoriesDocument>

类别文档的集合。

accepts
IEnumerable<String>

可以添加到集合中的资源类型的集合。

适用于