DeleteRTRegKey Function | |
Delete a subtree from the X# registry branches
Namespace:
XSharp.VO
Assembly:
XSharp.VO (in XSharp.VO.dll) Version: 2.19
Syntax FUNCTION DeleteRTRegKey(
cSubKey AS STRING
) AS LOGIC
public static bool DeleteRTRegKey(
string cSubKey
)
Request Example
View SourceParameters
- cSubKey
- Type: String
Return Value
Type:
Logic
TRUE if successful; otherwise, FALSE.
Remarks
DeleteRtRegKey() can be used to clear settings into the Registry.
it will clear the following subkeys:
HKEY_CURRENT_USER
\\Software
\\ComputerAssociates
\\CA-Visual Objects Applications
\\cSubkey
and optionally under
HKEY_LOCAL_MACHINE
\\Software
\\ComputerAssociates
\\CA-Visual Objects Applications
\\cSubkey
If cSubkey is empty (NULL_STRING), the Registry entry will be saved without a subkey under:
HKEY_LOCAL_MACHINE
\\Software
\\ComputerAssociates
\\CA-Visual Objects Applications
See Also