Request

Response

    ElementDataModel.GetDesignsBySourceId method

    Returns all designs whose SourceId matches sourceId.

    public IEnumerable<IDesign> GetDesignsBySourceId(string sourceId)
    
    parameterdescription
    sourceId The design SourceId to look up.

    Return Value

    The matching non-deleted designs; an empty enumerable when none match.

    Exceptions

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

    See Also