Share via


Solution.WithDocumentFilePath(DocumentId, String) Method

Definition

Creates a new solution instance with the document specified updated to have the specified file path.

public:
 Microsoft::CodeAnalysis::Solution ^ WithDocumentFilePath(Microsoft::CodeAnalysis::DocumentId ^ documentId, System::String ^ filePath);
public Microsoft.CodeAnalysis.Solution WithDocumentFilePath (Microsoft.CodeAnalysis.DocumentId documentId, string filePath);
member this.WithDocumentFilePath : Microsoft.CodeAnalysis.DocumentId * string -> Microsoft.CodeAnalysis.Solution
Public Function WithDocumentFilePath (documentId As DocumentId, filePath As String) As Solution

Parameters

documentId
DocumentId
filePath
String

Returns

Applies to