Compartilhar via


_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)

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: System.String
A string representing 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(DTE.RegistryRoot)
End Sub

.NET Framework Security

See Also

Reference

_DTE Interface

EnvDTE Namespace