RegistryPreference.Delete Method (RegistryHive, String, Int32)

 

Deletes the Registry preference item at the specified order if it is configured for the specified key or one of its first-level values.

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

Syntax

public void Delete(
    RegistryHive hive,
    string keyPath,
    int order
)
public:
void Delete(
    RegistryHive hive,
    String^ keyPath,
    int order
)
member Delete : 
        hive:RegistryHive *
        keyPath:string *
        order:int -> unit
Public Sub Delete (
    hive As RegistryHive,
    keyPath As String,
    order As Integer
)

Parameters

  • order
    Type: System.Int32

    The order for the Registry preference item.

See Also

Delete Overload
RegistryPreference Class
Microsoft.GroupPolicy Namespace

Return to top