共用方式為


IVsCfgProvider2.DeleteCfgsOfCfgName(String) Method

Definition

Deletes a specified configuration name.

public:
 int DeleteCfgsOfCfgName(System::String ^ pszCfgName);
public:
 int DeleteCfgsOfCfgName(Platform::String ^ pszCfgName);
int DeleteCfgsOfCfgName(std::wstring const & pszCfgName);
public int DeleteCfgsOfCfgName (string pszCfgName);
abstract member DeleteCfgsOfCfgName : string -> int
Public Function DeleteCfgsOfCfgName (pszCfgName As String) As Integer

Parameters

pszCfgName
String

[in] Pointer to the name of the configuration to be deleted.

Returns

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  
);  

Applies to