Partilhar via


IVsCfgProviderEvents.OnPlatformNameAdded(String) Method

Definition

Notifies the environment when a platform name has been added.

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

Parameters

pszPlatformName
String

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

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::OnPlatformNameAdded(  
   [in] LPCOLESTR pszPlatformName  
);  

Applies to