Compartir a través de


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

'Declaración
Function DeleteCfgsOfCfgName ( _
    pszCfgName As String _
) As Integer
'Uso
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

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

IVsCfgProvider2 Members

Microsoft.VisualStudio.Shell.Interop Namespace