Search Results for

    Show / Hide Table of Contents

    Sdl.MultiTerm.TMO.Interop.TermbaseBrowser class

    Name

    Sdl.MultiTerm.TMO.Interop.TermbaseBrowser — Provides access to the browse functionality for a termbase.

    Description

    Browsing a termbase involves navigating to the next or previous entry (or entries) starting from a particular position in the browse index (i.e. the currently selected source index).

    This class allows you to implement browse functionality for your MultiTerm client application. A browse operation requires various parameters, such as the browse direction (up/down), the browse index (language), the maximum number of terms to retrieve with a browse operation, etc.

    Properties

    • Direction: Sets/returns the direction for a browse operation.
    • EntryID: Sets/returns the starting entry id of the browse operation.
    • MaximumTermCount: Sets/returns the maximum hits allowed for a browse operation.
    • SourceIndex: Sets/returns the browse index.
    • StartTerm: Sets/returns the start term for the browse operation.

    Methods

    • Execute: Executes the browse operation.

    Sample

    TermbaseBrowser tbBrowse = oTb.Browse;
    
    tbBrowse.Direction = Sdl.MultiTerm.TMO.Interop.MtBrowseDirection.mtBrowseDown;
    tbBrowse.SourceIndex="English";
    tbBrowse.StartTerm="";
    tbBrowse.MaximumTermCount=1;
    
    HitTerms oHits = tbBrowse.Execute();
    Debug.Write("Browse hit: " + oHits[0].Text);
    
    • Improve this Doc
    In this article
    Back to top Generated by DocFX