RegistrySetting.SetValue Method (String, UInt64)


Configures the registry setting with a QWord (REG_QWORD) value that has the specified value name by using the specified UInt64.

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,
    ulong value
void SetValue(
    String^ name,
    unsigned long long value
member SetValue : 
        name:string *
        value:uint64 -> unit
Public Sub SetValue (
    name As String,
    value As ULong


  • 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