共用方式為


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>

可加入至集合之資源類型的集合。

適用於