R2::DeleteElement


void R2::DeleteElement(unsigned Identity)

This method deletes an element from the currently open segment.

Parameters

unsigned Identity

The identity of the element to be deleted.

Notes

Labels referring to the element are automatically deleted.

The identity of the element is its zero-based offset into the containing segment, which is a dynamic array of elements. If the element is labelled, the method R2::QueryLabel may be used to obtain the element's identity.