Udostępnij za pośrednictwem


DTE2.RegistryRoot Property

Definition

Gets a string with the path to the root of the Visual Studio registry settings.

public:
 property System::String ^ RegistryRoot { System::String ^ get(); };
public:
 property Platform::String ^ RegistryRoot { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(239)]
public string RegistryRoot { [System.Runtime.InteropServices.DispId(239)] get; }
[<System.Runtime.InteropServices.DispId(239)>]
[<get: System.Runtime.InteropServices.DispId(239)>]
member this.RegistryRoot : string
Public ReadOnly Property RegistryRoot As String

Property Value

The path to the root of the Visual Studio registry settings.

Implements

Attributes

Examples

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

Remarks

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

Applies to