This topic has not yet been rated - Rate this topic

VSRegistry Class

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

This API is not CLS-compliant. 
System.Object
  Microsoft.VisualStudio.Shell.VSRegistry

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
[CLSCompliantAttribute(false)]
public static class VSRegistry
  Name Description
Public method Static 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 method Static 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 method Static 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
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ