Eplan Platform API
Eplan.EplApi.DataModel Namespace / ArticleReference Class / ReferencePos Property

In This Topic
    ReferencePos Property (ArticleReference)
    In This Topic
    Returns the index of the ArticleReference reference for the given article if it is referenced by a Function. This number is useful when reading values of article reference properties (indexed properties on function, e.g. FUNC_ARTICLE_COUNT). It is not equal to the 0-based position of element in the table of articles which is returned by Function.Articles/>
    Syntax
    public int ReferencePos {get;}
    public:
    property int ReferencePos {
       int get();
    }

    Property Value

    Index(1-based) of the article reference in the function (if referenced there) or 0.
    Exceptions
    ExceptionDescription
    Thrown when index cannot be read.
    See Also