IVsCfgProvider2::RenameCfgsOfCfgName Method (String^, String^)

 

Assigns a new name to a configuration.

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

int RenameCfgsOfCfgName(
	String^ pszOldName,
	String^ pszNewName
)

Parameters

pszOldName
Type: System::String^

[in] String containing the old name of the target configuration.

pszNewName
Type: System::String^

[in] String containing the new name of the target configuration.

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 IVsCfgProvider2::RenameCfgsOfCfgName(
   [in] LPCOLESTR pszOldName,
   [in]LPCOLESTR pszNewName
);
Return to top
Show: