Share via


VSRegistry Class

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.VSRegistry

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

Syntax

'Declaration
Public NotInheritable Class VSRegistry
public static class VSRegistry
public ref class VSRegistry abstract sealed
[<AbstractClass>]
[<Sealed>]
type VSRegistry =  class end
public final class VSRegistry

Methods

  Name Description
Public methodStatic member RegistryRoot(__VsLocalRegistryType) Represents the root of the registry hive under which Visual Studio is currently running, in the specified part of the registry.
Public methodStatic member RegistryRoot(__VsLocalRegistryType, Boolean) Represents the root of the registry hive under which Visual Studio is currently running, in the specified part of the registry.
Public methodStatic member RegistryRoot(IServiceProvider, __VsLocalRegistryType, Boolean) Represents the root of the registry hive under which Visual Studio is currently running, in the specified part of the registry.

Top

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

Microsoft.VisualStudio.Shell Namespace