IVsCfgProvider2.RenameCfgsOfCfgName Method

Assigns a new name to a configuration.

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


Function RenameCfgsOfCfgName ( _
    pszOldName As String, _
    pszNewName As String _
) As Integer
‘사용 방법
Dim instance As IVsCfgProvider2
Dim pszOldName As String
Dim pszNewName As String
Dim returnValue As Integer

returnValue = instance.RenameCfgsOfCfgName(pszOldName, _
int RenameCfgsOfCfgName(
    string pszOldName,
    string pszNewName
int RenameCfgsOfCfgName(
    [InAttribute] String^ pszOldName, 
    [InAttribute] String^ pszNewName
abstract RenameCfgsOfCfgName : 
        pszOldName:string * 
        pszNewName:string -> int 
function RenameCfgsOfCfgName(
    pszOldName : String, 
    pszNewName : String
) : int


  • 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.


COM Signature

From vsshell.idl:

HRESULT IVsCfgProvider2::RenameCfgsOfCfgName(
   [in] LPCOLESTR pszOldName,
   [in]LPCOLESTR pszNewName

.NET Framework Security

See Also


IVsCfgProvider2 Interface

IVsCfgProvider2 Members

Microsoft.VisualStudio.Shell.Interop Namespace