_DTE.RegistryRoot Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string with the path to the root of the Visual Studio registry settings.
public:
property System::String ^ RegistryRoot { System::String ^ get(); };
public:
property Platform::String ^ RegistryRoot { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(239)]
public string RegistryRoot { [System.Runtime.InteropServices.DispId(239)] get; }
[<System.Runtime.InteropServices.DispId(239)>]
[<get: System.Runtime.InteropServices.DispId(239)>]
member this.RegistryRoot : string
Public ReadOnly Property RegistryRoot As String
Property Value
A string representing the path to the root of the Visual Studio registry settings.
- Attributes
Examples
Sub RegistryRootExample()
MsgBox(DTE.RegistryRoot)
End Sub
Remarks
Typically the registry root is Software\Microsoft\Visual Studio\<version>\
with either HKLM
or HKCU
before Software
.