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
'Usage
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.