ServiceDocument 构造函数

定义

创建 ServiceDocument 类的新实例。

重载

ServiceDocument()

创建 ServiceDocument 类的新实例。

ServiceDocument(IEnumerable<Workspace>)

创建 ServiceDocument 类的一个新实例,同时使用指定的 Workspace 实例的集合对其进行初始化。

ServiceDocument()

创建 ServiceDocument 类的新实例。

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

适用于

ServiceDocument(IEnumerable<Workspace>)

创建 ServiceDocument 类的一个新实例,同时使用指定的 Workspace 实例的集合对其进行初始化。

public:
 ServiceDocument(System::Collections::Generic::IEnumerable<System::ServiceModel::Syndication::Workspace ^> ^ workspaces);
public ServiceDocument (System.Collections.Generic.IEnumerable<System.ServiceModel.Syndication.Workspace> workspaces);
new System.ServiceModel.Syndication.ServiceDocument : seq<System.ServiceModel.Syndication.Workspace> -> System.ServiceModel.Syndication.ServiceDocument
Public Sub New (workspaces As IEnumerable(Of Workspace))

参数

workspaces
IEnumerable<Workspace>

工作区的集合。

适用于