NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DeleteSetting Statement

Deletes a section or key setting from an application's entry in the Windows registry.

DeleteSetting (appname, section[, key])

Arguments

appname
Required. String expression containing the name of the application or project to which the section or key setting applies.
section
Required. String expression containing the name of the section from which the key setting is being deleted. If only appname and section are provided, the specified section is deleted along with all related key settings.
key
Optional. String expression containing the name of the key setting being deleted.

Remarks

If all arguments are provided, the specified setting is deleted. A run-time error occurs if you attempt to use DeleteSetting on a nonexistent section or key setting.

See Also

Example

GetAllSettings Function | GetSetting Function | SaveSetting Statement