Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a registry-based policy setting.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)
Inheritance Hierarchy
System.Object
Microsoft.GroupPolicy.RegistryItem
Microsoft.GroupPolicy.RegistrySetting
Microsoft.GroupPolicy.PolicyRegistrySetting
Syntax
public class PolicyRegistrySetting : RegistrySetting, IEquatable<PolicyRegistrySetting>
public ref class PolicyRegistrySetting : RegistrySetting, IEquatable<PolicyRegistrySetting^>
type PolicyRegistrySetting =
class
inherit RegistrySetting
interface IEquatable<PolicyRegistrySetting>
end
Public Class PolicyRegistrySetting
Inherits RegistrySetting
Implements IEquatable(Of PolicyRegistrySetting)
Constructors
| Name | Description | |
|---|---|---|
![]() |
PolicyRegistrySetting() | Initializes a new instance of the PolicyRegistrySetting class. |
![]() |
PolicyRegistrySetting(RegistrySetting) | Initializes a new instance of the PolicyRegistrySetting class by using a specified RegistrySetting object. |
Properties
| Name | Description | |
|---|---|---|
![]() |
FullKeyPath | Gets the full key path for the registry item.(Inherited from RegistryItem.) |
![]() |
HasValue | Gets a value that indicates whether the registry setting has a value associated with it.(Inherited from RegistrySetting.) |
![]() |
Hive | Gets or sets the registry hive for the registry-based policy setting.(Overrides RegistryItem.Hive.) |
![]() |
KeyPath | Gets or sets the key path for the registry item.(Inherited from RegistryItem.) |
![]() |
PolicyState | Gets or sets the state for the registry-based policy setting |
![]() |
Type | Gets a value that indicates the data type of the registry setting.(Inherited from RegistrySetting.) |
![]() |
Value | Gets the value data for the registry setting.(Inherited from RegistrySetting.) |
![]() |
ValueName | Gets or sets the value name for this registry setting.(Inherited from RegistrySetting.) |
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Equals(PolicyRegistrySetting) | Determines whether the specified registry-based policy setting is equal to this policy setting. |
![]() |
Equals(RegistryItem) | Determines whether the specified registry item is equal to this registry item.(Inherited from RegistryItem.) |
![]() |
Equals(RegistrySetting) | Determines whether the specified registry setting is equal to this registry setting.(Inherited from RegistrySetting.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetBinaryValue() | Retrieves the data value for a registry setting that modifies the registry with Binary (REG_BINARY) data.(Inherited from RegistrySetting.) |
![]() |
GetDWordValue() | Retrieves the data value for a registry setting that modifies the registry with DWord (REG_DWORD) data.(Inherited from RegistrySetting.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetMultiStringValue() | Retrieves the data value for a registry setting that modifies the registry with MultiString (REG_MULTI_SZ) data.(Inherited from RegistrySetting.) |
![]() |
GetQWordValue() | Retrieves the data value for a registry setting that modifies the registry with QWord (REG_QWORD) data.(Inherited from RegistrySetting.) |
![]() |
GetStringValue() | Retrieves the data value for a registry setting that modifies the registry with String (REG_SZ) data.(Inherited from RegistrySetting.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
GetUInt32Value() | Retrieves the data value as unsigned for a registry setting that modifies the registry with DWord (REG_DWORD) data.(Inherited from RegistrySetting.) |
![]() |
GetUInt64Value() | Retrieves the data value as unsigned for a registry setting that modifies the registry with QWord (REG_QDWORD) data.(Inherited from RegistrySetting.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
RemoveValue() | Removes the registry value for the registry setting.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, Byte[]) | Configures the registry setting with a Binary (REG_BINARY) value that has the specified value name and value data.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, ICollection, RegistryValueKind) | Configures the registry setting with a Binary (REG_BINARY) or MultiString (REG_MULTI_SZ) value that has the specified value name and value data.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, Int32) | Configures the registry setting with a DWord (REG_DWORD) value by using the specified Int32.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, Int64) | Configures the registry setting with a QWord (REG_QWORD) value by using the specified Int64.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, String) | Configures the registry setting with a String (REG_SZ) value by using the specified string.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, String, RegistryValueKind) | Sets the value of the registry-based policy setting.(Overrides RegistrySetting.SetValue(String, String, RegistryValueKind).) |
![]() |
SetValue(String, String[]) | Configures the registry setting with a MultiString (REG_MULTI_SZ) value that has the specified value name by using an array of strings.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, UInt32) | Configures the registry setting with a DWord (REG_DWORD) value that has the specified value name by using the specified UInt32.(Inherited from RegistrySetting.) |
![]() |
SetValue(String, UInt64) | Configures the registry setting with a QWord (REG_QWORD) value that has the specified value name by using the specified UInt64.(Inherited from RegistrySetting.) |
![]() |
ToString() | (Inherited from Object.) |
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
.jpeg)
.jpeg)
.jpeg)