Share via


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.

public:
 property Microsoft::Win32::RegistryKey ^ UserRegistryRoot { Microsoft::Win32::RegistryKey ^ get(); };
public:
 property Microsoft::Win32::RegistryKey ^ UserRegistryRoot { Microsoft::Win32::RegistryKey ^ get(); };
public Microsoft.Win32.RegistryKey UserRegistryRoot { get; }
member this.UserRegistryRoot : Microsoft.Win32.RegistryKey
Public ReadOnly Property UserRegistryRoot As RegistryKey

Property Value

A RegistryKey that can be used to store user data.

Remarks

This property is safe to access from any thread.

Applies to