Bagikan melalui


My.Computer.Registry Object Members

The My.Computer.Registry object offers properties and methods for working with registry keys.

Properties

ClassesRoot

Corresponds to HKEY_CLASSES_ROOT.

CurrentConfig

Corresponds to HKEY_CURRENT_CONFIG.

CurrentUser

Corresponds to HKEY_CURRENT_USER.

DynData

Corresponds to HKEY_DYNAMIC_DATA.

LocalMachine

Corresponds to HKEY_LOCAL_MACHINE.

PerformanceData

Corresponds to. HKEY_PERFORMANCE_DATA.

Users

Corresponds to HKEY_USERS.

Methods

GetValue

Gets a value from a registry key.

SetValue

Sets a value in a registry key.

See Also

Concepts

Common Registry Tasks

Reference

My.Computer.Registry Object

Other Resources

Walkthrough: Creating a Registry Key and Changing Its Values