Solution.WithProjectFilePath(ProjectId, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的方案實例,並將指定的專案更新為具有專案檔路徑。
public:
Microsoft::CodeAnalysis::Solution ^ WithProjectFilePath(Microsoft::CodeAnalysis::ProjectId ^ projectId, System::String ^ filePath);
public Microsoft.CodeAnalysis.Solution WithProjectFilePath (Microsoft.CodeAnalysis.ProjectId projectId, string filePath);
public Microsoft.CodeAnalysis.Solution WithProjectFilePath (Microsoft.CodeAnalysis.ProjectId projectId, string? filePath);
member this.WithProjectFilePath : Microsoft.CodeAnalysis.ProjectId * string -> Microsoft.CodeAnalysis.Solution
Public Function WithProjectFilePath (projectId As ProjectId, filePath As String) As Solution
參數
- projectId
- ProjectId
- filePath
- String