共用方式為


Workspace.OnOutputRefFilePathChanged(ProjectId, String) 方法

定義

在主機環境中變更專案的輸出 ref 檔案路徑時,呼叫這個方法。

protected public:
 void OnOutputRefFilePathChanged(Microsoft::CodeAnalysis::ProjectId ^ projectId, System::String ^ outputFilePath);
protected internal void OnOutputRefFilePathChanged (Microsoft.CodeAnalysis.ProjectId projectId, string outputFilePath);
protected internal void OnOutputRefFilePathChanged (Microsoft.CodeAnalysis.ProjectId projectId, string? outputFilePath);
member this.OnOutputRefFilePathChanged : Microsoft.CodeAnalysis.ProjectId * string -> unit
Protected Friend Sub OnOutputRefFilePathChanged (projectId As ProjectId, outputFilePath As String)

參數

projectId
ProjectId
outputFilePath
String

適用於