Deleting a text field through actionscript

is it delete name.TextField; ?
or like name.removeTextField?