IVsCfgProviderEventsHelper::NotifyOnCfgNameRenamed Method (String^, String^)

 

Fired to sink configuration name renamed events for all listeners in the array.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int NotifyOnCfgNameRenamed(
	String^ pszOldName,
	String^ lszNewName
)

Parameters

pszOldName
Type: System::String^

[in] Old configuration name removed from the configuration list.

lszNewName
Type: System::String^

[in] New configuration name added to the configuration list.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsCfgProviderEventsHelper::NotifyOnCfgNameRenamed(
   [in] LPCOLESTR pszOldName,
   [in] LPCOLESTR lszNewName
);

If the rename operation is implemented as a clone and delete, you should fire the add/delete events instead of this one.

Return to top
Show: