_DTE.RegistryRoot Свойство

Определение

Возвращает строку с путем к корневым параметрам реестра Visual Studio.

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

Значение свойства

String

Строка, представляющая путь к корневым параметрам реестра Visual Studio.

Атрибуты

Примеры

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

Комментарии

Как правило, корень реестра имеет Software\Microsoft\Visual Studio\<version>\ значение HKLM или HKCU ранее Software .

Применяется к