RegistryHive enum

One of the predefined keys that point into one or more hives that Windows stores.

An application can use handles to these keys as entry points to the Registry. Predefined keys help an application navigate in the registry and make it possible to develop tools that allow a system administrator to manipulate categories of data. Applications that add data to the registry should always work within the framework of predefined keys, so administrative tools can find and use the new data.

Inheritance

Constructors

RegistryHive(int win32Value)
const

Values

localMachine → const RegistryHive

Registry entries subordinate to this key define the physical state of the computer, including data about the bus type, system memory, and installed hardware and software.

const RegistryHive(HKEY_LOCAL_MACHINE)
currentUser → const RegistryHive

Registry entries subordinate to this key define the preferences of the current user. These preferences include the settings of environment variables, data about program groups, colors, printers, network connections, and application preferences. This key makes it easier to establish the current user's settings; the key maps to the current user's branch in HKEY_USERS.

const RegistryHive(HKEY_CURRENT_USER)
allUsers → const RegistryHive

Registry entries subordinate to this key define the default user configuration for new users on the local computer and the user configuration for the current user.

const RegistryHive(HKEY_USERS)
classesRoot → const RegistryHive

Registry entries subordinate to this key define types (or classes) of documents and the properties associated with those types. Shell and COM applications use the information stored under this key.

const RegistryHive(HKEY_CLASSES_ROOT)
currentConfig → const RegistryHive

Contains information about the current hardware profile of the local computer system. The information under HKEY_CURRENT_CONFIG describes only the differences between the current hardware configuration and the standard configuration.

const RegistryHive(HKEY_CURRENT_CONFIG)
performanceData → const RegistryHive

Registry entries subordinate to this key allow you to access performance data. The data is not actually stored in the registry; the registry functions cause the system to collect the data from its source.

const RegistryHive(HKEY_PERFORMANCE_DATA)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
win32Value int
Returns the handle for a predefined key.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RegistryHive>
A constant List of the values in this enum, in order of their declaration.