此方法可设置注册表根。 用于并行调试。
HRESULT SetRegistryRoot (
LPCOLESTR ustrRegistryRoot
);
int SetRegistryRoot(
string ustrRegistryRoot
);
参数
- ustrRegistryRoot
[in] 新的注册表根。
返回值
如果成功,则返回; S_OK否则,返回错误代码。
备注
指定的注册表根通常设置,在表达式计算器首先实例化并指向 Visual Studio 时 (\SOFTWARE\Microsoft\VisualStudio HKEY_LOCAL_MACHINE \X.Y的特定版本的注册表项,其中 X.Y 是版本号)。