Compartilhar via


RegistrationAttribute.RegistrationContext.RemoveKeyIfEmpty(String) Method

Definition

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.

Applies to