RegistrySetting.SetValue Method (String, Int32)

 

Configures the registry setting with a DWord (REG_DWORD) value by using the specified Int32.

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

Syntax

public void SetValue(
    string name,
    int value
)
public:
void SetValue(
    String^ name,
    int value
)
member SetValue : 
        name:string *
        value:int -> unit
Public Sub SetValue (
    name As String,
    value As Integer
)

Parameters

  • 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