Workspace.OnOutputRefFilePathChanged(ProjectId, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在主機環境中變更專案的輸出 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