Solution.WithDocumentFolders(DocumentId, IEnumerable<String>) Method

Definition

Creates a new solution instance with the document specified updated to be contained in the sequence of logical folders.

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

Parameters

documentId
DocumentId
folders
IEnumerable<String>

Returns

Applies to