Solution.WithDocumentFolders(DocumentId, IEnumerable<String>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的解决方案实例,其中包含指定更新的文档,以包含在逻辑文件夹序列中。
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>