IVsCfgProvider2.DeleteCfgsOfCfgName Method

Deletes a specified configuration name.

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


Function DeleteCfgsOfCfgName ( _
    pszCfgName As String _
) As Integer
‘사용 방법
Dim instance As IVsCfgProvider2
Dim pszCfgName As String
Dim returnValue As Integer

returnValue = instance.DeleteCfgsOfCfgName(pszCfgName)
int DeleteCfgsOfCfgName(
    string pszCfgName
int DeleteCfgsOfCfgName(
    [InAttribute] String^ pszCfgName
abstract DeleteCfgsOfCfgName : 
        pszCfgName:string -> int 
function DeleteCfgsOfCfgName(
    pszCfgName : String
) : int


  • pszCfgName
    Type: System.String
    [in] Pointer to the name of the configuration to be deleted.

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::DeleteCfgsOfCfgName(
   [in] LPCOLESTR pszCfgName

.NET Framework Security

See Also


IVsCfgProvider2 Interface

IVsCfgProvider2 Members

Microsoft.VisualStudio.Shell.Interop Namespace