RegistrationAttribute.RegistrationContext.RemoveKeyIfEmpty(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the key of the specified name if it has no child key and no value.
public:
abstract void RemoveKeyIfEmpty(System::String ^ name);
public:
abstract void RemoveKeyIfEmpty(Platform::String ^ name);
abstract void RemoveKeyIfEmpty(std::wstring const & name);
public abstract void RemoveKeyIfEmpty (string name);
abstract member RemoveKeyIfEmpty : string -> unit
Public MustOverride Sub RemoveKeyIfEmpty (name As String)
Parameters
- name
- String
The name of the key to remove.