Workspace.OnOutputFilePathChanged(ProjectId, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在主機環境中變更專案的輸出檔路徑時,呼叫此方法。
protected public:
void OnOutputFilePathChanged(Microsoft::CodeAnalysis::ProjectId ^ projectId, System::String ^ outputFilePath);
protected internal void OnOutputFilePathChanged (Microsoft.CodeAnalysis.ProjectId projectId, string outputFilePath);
protected internal void OnOutputFilePathChanged (Microsoft.CodeAnalysis.ProjectId projectId, string? outputFilePath);
member this.OnOutputFilePathChanged : Microsoft.CodeAnalysis.ProjectId * string -> unit
Protected Friend Sub OnOutputFilePathChanged (projectId As ProjectId, outputFilePath As String)
參數
- projectId
- ProjectId
- outputFilePath
- String