IVsCfgProvider2.DeleteCfgsOfCfgName Method

Deletes a specified configuration name.

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

Syntax

'Declaration
Function DeleteCfgsOfCfgName ( _
    pszCfgName As String _
) As Integer
int DeleteCfgsOfCfgName(
    string pszCfgName
)
int DeleteCfgsOfCfgName(
    [InAttribute] String^ pszCfgName
)
abstract DeleteCfgsOfCfgName : 
        pszCfgName:string -> int 
function DeleteCfgsOfCfgName(
    pszCfgName : String
) : int

Parameters

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCfgProvider2::DeleteCfgsOfCfgName(
   [in] LPCOLESTR pszCfgName
);

.NET Framework Security

See Also

Reference

IVsCfgProvider2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace