Solution.WithDocumentFolders(DocumentId, IEnumerable<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.