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
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
<CLSCompliantAttribute(False)> _
Public NotInheritable Class VSRegistry
用法
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
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type VSRegistry =  class end
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