RegistryItem Class
Represents the registry item that is modified in a Group Policy setting that modifies the registry.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)
Inheritance Hierarchy
System.Object
Microsoft.GroupPolicy.RegistryItem
Microsoft.GroupPolicy.RegistrySetting
Syntax
public class RegistryItem : IEquatable<RegistryItem>
public ref class RegistryItem : IEquatable<RegistryItem^>
type RegistryItem =
class
interface IEquatable<RegistryItem>
end
Public Class RegistryItem
Implements IEquatable(Of RegistryItem)
Constructors
Name | Description | |
---|---|---|
RegistryItem() | Creates a new instance of the RegistryItem class. |
Properties
Name | Description | |
---|---|---|
FullKeyPath | Gets the full key path for the registry item. |
|
Hive | Gets or sets the registry hive for the registry item. |
|
KeyPath | Gets or sets the key path for the registry item. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Equals(RegistryItem) | Determines whether the specified registry item is equal to this registry item. |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
You can use the properties of the RegistryItem class to get the hive, the key path, and the full key path of the registry key that is modified by a policy setting or a preference setting (that modifies the registry on the client). You can use the Equals method to determine whether two Group Policy settings modify the same registry key.
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
Microsoft.GroupPolicy Namespace
Return to top