次の方法で共有


IVsCfgProviderEvents.OnCfgNameAdded(String) Method

Definition

Notifies the environment when a configuration name has been added.

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

Parameters

pszCfgName
String

[in] Pointer to the name of the new configuration.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCfgProviderEvents::OnCfgNameAdded(  
   [in] LPCOLESTR pszCfgName  
);  

Applies to