IVsCfgProvider2::AddCfgsOfPlatformName Method (String^, String^)

 

Copies an existing platform name or creates a new one.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int AddCfgsOfPlatformName(
	String^ pszPlatformName,
	String^ pszClonePlatformName
)

Parameters

pszPlatformName
Type: System::String^

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

pszClonePlatformName
Type: System::String^

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

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsCfgProvider2::AddCfgsOfPlatformName(
   [in] LPCOLESTR pszPlatformName,
   [in] LPCOLESTR pszClonePlatformName
);
Return to top
Show: