Eplan Platform API
Eplan.EplApi.HEServices Namespace / Translate Class / AddProjectLanguage Method / AddProjectLanguage(Project,String) Method
Project to be processed.
Shortcut of the language to be added.

In This Topic
    AddProjectLanguage(Project,String) Method
    In This Topic
    Method for adding a project language. It adds the language to the set of possible languages.
    Syntax
    public bool AddProjectLanguage( 
       Project pProject,
       string strLanguage
    )
    public:
    bool AddProjectLanguage( 
       Project^ pProject,
       String^ strLanguage
    ) 

    Parameters

    Parameter NameDescription
    pProjectProject to be processed.
    strLanguageShortcut of the language to be added.

    Return Value

    True, in case of success, or if giving language was added before.
    Exceptions
    ExceptionDescription
    Thrown if NULL was passed as an argument.
    Thrown in case of invalid arguments.
    Thrown if the internal interface necessary for adding languages could not be created.
    Thrown if an error occured while adding a language.
    See Also