Search Results for

    Show / Hide Table of Contents

    ClearSearchTermbases method

    Name

    Sdl.MultiTerm.TMO.Interop.MultiSearch.ClearSearchTermbases — Removes all termbases from the MultiSearch.

    Returntype

    void

    Parameters

    none

    Description

    You can apply this property, for example, to make sure that no termbases are associated with the MultiSearch before adding other termbases.

    It is recommended to apply this method before adding termbases to a multi search, also to make sure that any source/target language changes are taken over correctly.

    Sample

    //create MultiSearch object
    MultiSearch oSearch = oMt.MultiSearch;
    
    //remove any termbases associated with the MultiSearch first
    oSearch.ClearSearchTermbases();
    
    //add termbases to multisearch
    oSearch.AddSearchTermbase(oTb1, "English", "");
    oSearch.AddSearchTermbase(oTb2, "Deutsch", "Englisch");
    oSearch.AddSearchTermbase(oTb3, "DEU", "ENG");
    
    • Improve this Doc
    In this article
    Back to top Generated by DocFX