RegistryPreference.WriteQWordValue Method (RegistryHive, String, String, Int64, PreferenceAction, Int32, Boolean)

 

Writes a Registry preference item that configures a QWord registry value by using the specified 64-bit signed integer.

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

Syntax

public void WriteQWordValue(
    RegistryHive hive,
    string keyPath,
    string valueName,
    long value,
    PreferenceAction action,
    int order,
    bool disable
)
public:
void WriteQWordValue(
    RegistryHive hive,
    String^ keyPath,
    String^ valueName,
    long long value,
    PreferenceAction action,
    int order,
    bool disable
)
member WriteQWordValue : 
        hive:RegistryHive *
        keyPath:string *
        valueName:string *
        value:int64 *
        action:PreferenceAction *
        order:int *
        disable:bool -> unit
Public Sub WriteQWordValue (
    hive As RegistryHive,
    keyPath As String,
    valueName As String,
    value As Long,
    action As PreferenceAction,
    order As Integer,
    disable As Boolean
)

Parameters

  • valueName
    Type: System.String

    The name of the registry value. You can specify an empty string (“”) for the default value.

  • value
    Type: System.Int64

    A 64-bit signed integer that holds the value data.

  • order
    Type: System.Int32

    The order for the Registry preference item.

  • disable
    Type: System.Boolean

    true to disable the Registry preference item; otherwise, false.

See Also

WriteQWordValue Overload
RegistryPreference Class
Microsoft.GroupPolicy Namespace

Return to top