共用方式為


Workspace.OnAssemblyNameChanged(ProjectId, String) Method

Definition

Call this method when a project's assembly name is changed in the host environment.

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

Parameters

projectId
ProjectId
assemblyName
String

Applies to