Package.UserRegistryRoot Property

Definition

Returns the registry root for the current user. Typically this is HKCU\Software\Microsoft\VisualStudio[ver] but this can change based on any alternate root that the shell is initialized with. This key is read-write.

C++/CX
public:
 property Microsoft::Win32::RegistryKey ^ UserRegistryRoot { Microsoft::Win32::RegistryKey ^ get(); };

Property Value

A RegistryKey that can be used to store user data.

Remarks

This property is safe to access from any thread.

Applies to

Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022