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
'宣言
Public NotInheritable Class VSRegistry
public static class VSRegistry
Methods
Name | Description | |
---|---|---|
RegistryRoot(__VsLocalRegistryType) | Represents the root of the registry hive under which Visual Studio is currently running, in the specified part of the registry. | |
RegistryRoot(__VsLocalRegistryType, Boolean) | Represents the root of the registry hive under which Visual Studio is currently running, in the specified part of the registry. | |
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.