RegistrySetting.SetValue Method (String, UInt32)


Configures the registry setting with a DWord (REG_DWORD) value that has the specified value name by using the specified UInt32.

This API is not CLS-compliant.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management.Interop (in Microsoft.GroupPolicy.Management.Interop.dll)


public void SetValue(
    string name,
    uint value
void SetValue(
    String^ name,
    unsigned int value
member SetValue : 
        name:string *
        value:uint32 -> unit
Public Sub SetValue (
    name As String,
    value As UInteger


  • name
    Type: System.String

    The value name. Specify an empty string (“”) or null for the default value.

See Also

SetValue Overload
RegistrySetting Class
Microsoft.GroupPolicy Namespace

Return to top