共用方式為


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>

傳回

適用於