Solution.WithDocumentName(DocumentId, 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 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