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

适用于