Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DTE2.RegistryRoot Property

Gets a string with the path to the root of the Visual Studio registry settings.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

string RegistryRoot { get; }

Property Value

Type: System.String
The path to the root of the Visual Studio registry settings.

Implements

_DTE.RegistryRoot

Typically the registry root is Software\Microsoft\Visual Studio\<version>\ with either HKLM or HKCU before Software.

Sub RegistryRootExample()
  MsgBox(DTE2.RegistryRoot)
End Sub

Community Additions

ADD
Show:
© 2015 Microsoft