Export (0) Print
Expand All
ID
Top
Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.