This version of Unity is unsupported.

VisualElement.Clear

public void Clear();

Description

Remove all child elements from this element's contentContainer