Request

Response

    IElementDataModel.DeleteElementByUniqueId method

    Deletes an element identified by its system-generated unique persistent Id.

    public bool DeleteElementByUniqueId(string uniqueId)
    
    parameterdescription
    uniqueId The unique persistent Id of the element to delete (see UniqueId).

    Return Value

    True if the element was found and deleted; false when no element with the specified unique Id exists.

    Exceptions

    exceptioncondition
    ArgumentNullException Thrown when uniqueId is null.
    ArgumentException Thrown when uniqueId is empty.

    See Also