API Help
Eplan.EplApi.DataModel Namespace / Project Class / AddArticleReference Method / AddArticleReference(String,String,UInt32) Method
article's number
article's variant number
count of articles to add

In This Topic
    AddArticleReference(String,String,UInt32) Method
    In This Topic
    Adds a new ArticleReference to the Project. Returns the added ArticleReference.
    Syntax
    public virtual ArticleReference AddArticleReference( 
       string strArticleNR,
       string strVariantNR,
       uint nCount
    )
    public:
    virtual ArticleReference^ AddArticleReference( 
       String^ strArticleNR,
       String^ strVariantNR,
       uint nCount
    ) 

    Parameters

    strArticleNR
    article's number
    strVariantNR
    article's variant number
    nCount
    count of articles to add

    Return Value

    ArticleReference added to the Project
    Exceptions
    ExceptionDescription
    Thrown when the ArticleReference cannot be added
    Thrown when strArticleNR is null.
    Thrown when strVariantNR is null.
    Thrown when it was impossible to get valid property index.
    See Also