Solution.WithDocumentFolders(DocumentId, IEnumerable<String>) 方法

定义

创建一个新的解决方案实例,其中包含指定更新的文档,以包含在逻辑文件夹序列中。

public:
 Microsoft::CodeAnalysis::Solution ^ WithDocumentFolders(Microsoft::CodeAnalysis::DocumentId ^ documentId, System::Collections::Generic::IEnumerable<System::String ^> ^ folders);
public Microsoft.CodeAnalysis.Solution WithDocumentFolders (Microsoft.CodeAnalysis.DocumentId documentId, System.Collections.Generic.IEnumerable<string> folders);
public Microsoft.CodeAnalysis.Solution WithDocumentFolders (Microsoft.CodeAnalysis.DocumentId documentId, System.Collections.Generic.IEnumerable<string>? folders);
member this.WithDocumentFolders : Microsoft.CodeAnalysis.DocumentId * seq<string> -> Microsoft.CodeAnalysis.Solution
Public Function WithDocumentFolders (documentId As DocumentId, folders As IEnumerable(Of String)) As Solution

参数

documentId
DocumentId
folders
IEnumerable<String>

返回

适用于