Delen via


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)

Syntax

'Declaration
ReadOnly Property RegistryRoot As String
string RegistryRoot { get; }
property String^ RegistryRoot {
    String^ get ();
}
abstract RegistryRoot : string with get
function get RegistryRoot () : String

Property Value

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

Remarks

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

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace