Solution.WithDocumentFilePath(DocumentId, String) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellt eine neue Lösungsinstanz mit dem angegebenen Dokument, um den angegebenen Dateipfad zu haben.
public:
Microsoft::CodeAnalysis::Solution ^ WithDocumentFilePath(Microsoft::CodeAnalysis::DocumentId ^ documentId, System::String ^ filePath);
public Microsoft.CodeAnalysis.Solution WithDocumentFilePath(Microsoft.CodeAnalysis.DocumentId documentId, 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
Parameter
- documentId
- DocumentId
- filePath
- String