다음을 통해 공유


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

‘선언
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
)
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
);

Permissions

See Also

Reference

IVsCfgProvider2 Interface

IVsCfgProvider2 Members

Microsoft.VisualStudio.Shell.Interop Namespace