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

In This Topic
    RemoveProjectLanguage(Project,String) Method
    In This Topic
    Method for removing a project language. It removes the language from the set of displayed languages.
    Syntax
    public bool RemoveProjectLanguage( 
       Project pProject,
       string strLanguage
    )
    public:
    bool RemoveProjectLanguage( 
       Project^ pProject,
       String^ strLanguage
    ) 

    Parameters

    pProject
    Project to be processed.
    strLanguage
    Shortcut of the language to be removed.

    Return Value

    Returns True if successful.
    Exceptions
    ExceptionDescription
    Thrown if an error occurs while removing a language.
    Thrown if null was passed as an argument.
    Remarks
    It is not possible to remove the source language! System message will be generated in this case. Method removes not only language from project pool, but also translations from multilangual strings in a project.
    See Also