Table of Contents

Method Remove

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Remove(string)

Takes out the entry of a name, as AutoCAD's Remove, and erases the object it names with what that owns, as an object of a DXF file is owned by something.

public DxfDBObject Remove(string key)

Parameters

key string

The name, letters of either case the same.

Returns

DxfDBObject

The object, erased; null where the file had no object of the entry's handle.

Exceptions

ArgumentNullException

Thrown when the name is null.

KeyNotFoundException

Thrown when the dictionary has no entry of the name.

InvalidOperationException

Thrown when the dictionary is erased.

Remove(DxfDBObject)

Takes out the entry that names an object, as AutoCAD's Remove of an id, and erases the object.

public void Remove(DxfDBObject value)

Parameters

value DxfDBObject

The object.

Exceptions

ArgumentNullException

Thrown when the object is null.

KeyNotFoundException

Thrown when no entry names it.