共用方式為


Workspace.OnProjectNameChanged(ProjectId, String, String) 方法

定義

在主機環境中變更專案的名稱時,呼叫這個方法。

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

參數

projectId
ProjectId
name
String
filePath
String

適用於