TransactedRegistryKey.DeleteSubKey Method (String)

Deletes the specified subkey. This method is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As TransactedRegistryKey
Dim subkey As String


public void DeleteSubKey (
	string subkey
public void DeleteSubKey (
	String subkey
public function DeleteSubKey (
	subkey : String



The subkey to be deleted.

This topic is included in this SDK for completeness only.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms