Delen via


Solution.WithDocumentName(DocumentId, String) Method

Definition

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

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

Parameters

documentId
DocumentId
name
String

Returns

Applies to