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