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

_DTE.RegistryRoot Property

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

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

string RegistryRoot { get; }

Property Value

Type: System.String
A string representing the path to the root of the Visual Studio registry settings.

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

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

Show:
© 2015 Microsoft