共用方式為


HostServices.OnRenameProject(String, String) Method

Definition

Updates the host object table when a project is renamed. Old full path may be null.

public:
 void OnRenameProject(System::String ^ oldFullPath, System::String ^ newFullPath);
public void OnRenameProject (string oldFullPath, string newFullPath);
member this.OnRenameProject : string * string -> unit
Public Sub OnRenameProject (oldFullPath As String, newFullPath As String)

Parameters

oldFullPath
String

The current path to the project file.

newFullPath
String

The new path to the project file.

Remarks

A project is named when it is given a new full path and the old path is null.

Applies to