Method Delete
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Delete(CadDocument, string)
Deletes a data link, one undo step. A link that fills a table is in use and is refused, "The data link is being used and cannot be deleted."; detach it from the table first.
public static CadEditResult Delete(CadDocument document, string name)
Parameters
documentCadDocumentThe document.
namestringThe link's name.
Returns
- CadEditResult
What came of it.
Exceptions
- ArgumentNullException
Thrown when an argument is null.