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)

Syntax

[CLSCompliantAttribute(false)]
public void SetValue(
    string name,
    ulong value
)
public:
[CLSCompliantAttribute(false)]
void SetValue(
    String^ name,
    unsigned long long value
)
[<CLSCompliantAttribute(false)>]
member SetValue : 
        name:string *
        value:uint64 -> unit
<CLSCompliantAttribute(False)>
Public Sub SetValue (
    name As String,
    value As ULong
)

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