API Help
Eplan.EplApi.HEServices Namespace / Translate Class / RemoveProjectLanguages Method
Project to be processed.
String collection containing languages to remove.

In This Topic
    RemoveProjectLanguages Method
    In This Topic
    Method for removing a collection of languages from a project.
    Syntax
    public bool RemoveProjectLanguages( 
       Project pProject,
       StringCollection listLanguages
    )
    public:
    bool RemoveProjectLanguages( 
       Project^ pProject,
       StringCollection^ listLanguages
    ) 

    Parameters

    pProject
    Project to be processed.
    listLanguages
    String collection containing languages to remove.

    Return Value

    Returns True if successful, False if removing at least one of languages failed.
    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 languages from project pool, but also translations from multilangual strings in a project.
    See Also