Workspace 构造函数

定义

创建 Workspace 类型的新实例。

重载

Workspace()

创建 Workspace 类的新实例。

Workspace(TextSyndicationContent, IEnumerable<ResourceCollectionInfo>)

创建 Workspace 类的新实例并使用指定的标题和集合对其进行初始化。

Workspace(String, IEnumerable<ResourceCollectionInfo>)

创建 Workspace 类的新实例并使用指定的标题和集合对其进行初始化。

Workspace()

创建 Workspace 类的新实例。

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

适用于

Workspace(TextSyndicationContent, IEnumerable<ResourceCollectionInfo>)

创建 Workspace 类的新实例并使用指定的标题和集合对其进行初始化。

public:
 Workspace(System::ServiceModel::Syndication::TextSyndicationContent ^ title, System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::ResourceCollectionInfo ^> ^ collections);
public Workspace (System.ServiceModel.Syndication.TextSyndicationContent title, System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.ResourceCollectionInfo> collections);
new System.ServiceModel.Syndication.Workspace : System.ServiceModel.Syndication.TextSyndicationContent * seq<System.ServiceModel.Syndication.ResourceCollectionInfo> -> System.ServiceModel.Syndication.Workspace
Public Sub New (title As TextSyndicationContent, collections As IEnumerable(Of ResourceCollectionInfo))

参数

title
TextSyndicationContent

工作区的标题。

collections
IEnumerable<ResourceCollectionInfo>

工作区包含的集合。

适用于

Workspace(String, IEnumerable<ResourceCollectionInfo>)

创建 Workspace 类的新实例并使用指定的标题和集合对其进行初始化。

public:
 Workspace(System::String ^ title, System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::ResourceCollectionInfo ^> ^ collections);
public Workspace (string title, System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.ResourceCollectionInfo> collections);
new System.ServiceModel.Syndication.Workspace : string * seq<System.ServiceModel.Syndication.ResourceCollectionInfo> -> System.ServiceModel.Syndication.Workspace
Public Sub New (title As String, collections As IEnumerable(Of ResourceCollectionInfo))

参数

title
String

工作区标题。

collections
IEnumerable<ResourceCollectionInfo>

工作区包含的集合。

适用于