Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RegistryRoot Property
ID
Top
Collapse the table of content
Expand the table of content

RegistryRoot Property

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public ReadOnly Property RegistryRoot() As String
[Visual Basic 6]
Property Get RegistryRoot() As String
[C++]
HRESULT __stdcall get_RegistryRoot(
   /* [out, retval] */ BSTR* retVal
);
[C#]
public string RegistryRoot {get;}
[JScript .NET]
public function get RegistryRoot() : String

Remarks

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

Example

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

See Also

Applies To: DTE Object

Show:
© 2015 Microsoft