IVsCfgProvider2.RenameCfgsOfCfgName(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns a new name to a configuration.
public:
int RenameCfgsOfCfgName(System::String ^ pszOldName, System::String ^ pszNewName);
public:
int RenameCfgsOfCfgName(Platform::String ^ pszOldName, Platform::String ^ pszNewName);
int RenameCfgsOfCfgName(std::wstring const & pszOldName, std::wstring const & pszNewName);
public int RenameCfgsOfCfgName (string pszOldName, string pszNewName);
abstract member RenameCfgsOfCfgName : string * string -> int
Public Function RenameCfgsOfCfgName (pszOldName As String, pszNewName As String) As Integer
Parameters
- pszOldName
- String
[in] String containing the old name of the target configuration.
- pszNewName
- String
[in] String containing the new name of the target configuration.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsCfgProvider2::RenameCfgsOfCfgName(
[in] LPCOLESTR pszOldName,
[in]LPCOLESTR pszNewName
);