Share via


VSRegistry Class

Provides utility functions for discovering the registry hive under which Visual Studio is currently running.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class VSRegistry
'Usage
You do not need to declare an instance of a static class in order to access its members.
[CLSCompliantAttribute(false)]
public static class VSRegistry
[CLSCompliantAttribute(false)]
public ref class VSRegistry abstract sealed
public final class VSRegistry

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.VSRegistry

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VSRegistry Members

Microsoft.VisualStudio.Shell Namespace