Language
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.
Sets the data value for the registry setting.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)
Overload List
| Name | Description | |
|---|---|---|
![]() |
SetValue(String, Byte[]) | Configures the registry setting with a Binary (REG_BINARY) value that has the specified value name and value data. |
![]() |
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. |
![]() |
SetValue(String, Int32) | Configures the registry setting with a DWord (REG_DWORD) value by using the specified Int32. |
![]() |
SetValue(String, Int64) | Configures the registry setting with a QWord (REG_QWORD) value by using the specified Int64. |
![]() |
SetValue(String, String) | Configures the registry setting with a String (REG_SZ) value by using the specified string. |
![]() |
SetValue(String, String, RegistryValueKind) | Configures the registry setting with a String (REG_SZ), ExpandString (REG_EXPAND_SZ), or MultiString (REG_MULTI_SZ) value that has the specified value name and value data. |
![]() |
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. |
![]() |
SetValue(String, UInt32) | Configures the registry setting with a DWord (REG_DWORD) value that has the specified value name by using the specified UInt32. |
![]() |
SetValue(String, UInt64) | Configures the registry setting with a QWord (REG_QWORD) value that has the specified value name by using the specified UInt64. |
See Also
RegistrySetting Class
Microsoft.GroupPolicy Namespace
Return to top
.jpeg)