Request

Response

    IElementDataModel.GetElementByUniqueId method

    Returns an IElement by its system-generated unique persistent Id (see UniqueId).

    public IElement GetElementByUniqueId(string uniqueId)
    
    parameterdescription
    uniqueId The unique persistent Id of the element.

    Return Value

    The IElement with the specified unique Id, or null when not found or the underlying asset is deleted.

    Exceptions

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

    See Also