Request

Response

    ElementDataModel.GetDesignInstancesBySourceId method

    Returns all the elements that have instantiated this design, keyed by the design’s SourceId.

    public IEnumerable<IElement> GetDesignInstancesBySourceId(string sourceId)
    
    parameterdescription
    sourceId The design SourceId whose instances to return.

    Return Value

    An enumerable of all elements of that design.

    Exceptions

    exceptioncondition
    ArgumentNullException Thrown when sourceId is null or empty.

    See Also