AsciidoctorAttributeCollection.

Unset(string) Method

Summary

Unsets the specified attribute.

Syntax

public void Unset(string name)

Remarks

Marking an attribute as an "unset attribute" tells Asciidoctor to remove the attribute value in case it was already defined in the input file. For example, Unset("Name") will result in an NAME! commandline argument to be passed to Asciidoctor.

If the attribute was already added to this collection, unsetting the attribute will remove the attribute's value, and retset the attribute options to Default.

Parameters

Name Type Description
name string The name of the attribute to unset

Return Value

Type Description
void