DeleteParts(object)

Deletes the provide parts if they exist. Otherwise, nothing happens. An exception will be issued if the argument is invalid.

Declaration Syntax

public virtual void DeleteParts(object parts)

Parameters

parts(object)

The parts to be deleted. It can be a single IGeoPart instance or an IEnumerable. If a collection is provided, the presence of non-`IGeoPart` items will cause an exception to be issued.