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: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.