Udostępnij za pośrednictwem


_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
'Usage
Dim instance As _DTE 
Dim value As String 

value = instance.RegistryRoot
string RegistryRoot { get; }
property String^ RegistryRoot {
    String^ 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

_DTE Members

EnvDTE Namespace