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. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.VSRegistry

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class VSRegistry
[CLSCompliantAttribute(false)]
public static class VSRegistry
[CLSCompliantAttribute(false)]
public ref class VSRegistry abstract sealed
[<AbstractClass>]
[<Sealed>]
[<CLSCompliantAttribute(false)>]
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