ServiceDocumentFormatter.CreateCollection(Workspace) 方法

定义

创建一个新的 ResourceCollectionInfo 实例。

protected:
 static System::ServiceModel::Syndication::ResourceCollectionInfo ^ CreateCollection(System::ServiceModel::Syndication::Workspace ^ workspace);
protected static System.ServiceModel.Syndication.ResourceCollectionInfo CreateCollection (System.ServiceModel.Syndication.Workspace workspace);
static member CreateCollection : System.ServiceModel.Syndication.Workspace -> System.ServiceModel.Syndication.ResourceCollectionInfo
Protected Shared Function CreateCollection (workspace As Workspace) As ResourceCollectionInfo

参数

workspace
Workspace

一个用于创建新集合的 Workspace 实例。

返回

ResourceCollectionInfo

返回新的 ResourceCollectionInfo 实例。

适用于