IVsCfgProvider2.AddCfgsOfPlatformName(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
复制现有的平台名称或创建一个新的平台名称。
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
参数
- pszPlatformName
- String
中指向新平台名称的指针。
- pszClonePlatformName
- String
中一个指针,指向要复制的平台的名称,或 null 指示 AddCfgsOfPlatformName 应创建新平台的。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsCfgProvider2::AddCfgsOfPlatformName(
[in] LPCOLESTR pszPlatformName,
[in] LPCOLESTR pszClonePlatformName
);