Search Results for

    Show / Hide Table of Contents

    Active property

    Name

    Sdl.MultiTerm.TMO.Interop.FilterDefinition.Active — Activates a particular filter.

    Type

    Boolean (read / write)

    Index Parameters

    none

    Description

    This property can be used to activate (or deactivate) a filter. To activate a filter, set this property to true. The filter will then be applied to subsequent search operations. Via this property you can also ascertain whether a filter is active or not.

    Sample

    //select termbase
    Termbase oTb = oTbs["Termbase name"];
    
    //select filter
    FilterDefinitions oFilters = oTb.FilterDefinitions;
    FilterDefinition oFilter = oFilters["Missing target"];
    
    //activate filter
    oFilter.Active = true;
    Debug.WriteLine("Is filter active? " + oFilter.Active);
    
    //deactivate filter
    oFilter.Active = false;
    
    • Improve this Doc
    In this article
    Back to top Generated by DocFX