Share via


IVsCfgProvider2.AddCfgsOfPlatformName(String, String) Method

Definition

Copies an existing platform name or creates a new one.

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

Parameters

pszPlatformName
String

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

pszClonePlatformName
String

[in] Pointer to the name of the platform to copy, or null, indicating that AddCfgsOfPlatformName should create a new platform.

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

Applies to