Partager via


IRegistryKey Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The IRegistryKey type exposes the following members.

Methods

  Name Description
Public method Close
Closes the registry key.
Public method Dispose (Inherited from IDisposable.)
Public method GetBoolValue
Gets the boolean value represented by the value for requested name in the registry key.
Public method GetEnumValue<T>
Gets the enum value for the given name.
Public method GetIntValue
Gets the integer value for the given name.
Public method GetStringValue
Gets the string value for the given name.
Public method GetTypeValue
Gets the Type value for the given name.
Public method GetValueNames
Gets the names for the values.
Public method OpenSubKey
Gets the sub key for the given key name.

Properties

  Name Description
Public property IsPolicyKey
Gets the indication of whether the registry key represents a policy.
Public property Name
Gets the full name of the registry key.

See Also

IRegistryKey Interface

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.