Search Results for

    Show / Hide Table of Contents

    Mandatory property

    Name

    Sdl.MultiTerm.TMO.Interop.DescriptiveField.Mandatory — Returns whether the specified field is mandatory.

    Type

    Boolean (read)

    Index Parameters

    none

    Description

    The termbase creator/administrator can define descriptive fields in a termbase definition as mandatory, i.e. the user later has to fill in these fields before an entry can be saved. This property returns true if the field is mandatory, false if not.

    Sample

    //select termbase
    Termbase oTb = oTbs["Termbase name"];
    
    //access termbase definition
    TermbaseDefinition oDef = oTb.Definition;
    //select first descriptive field
    DescriptiveField oField = oDef.Fields[0];
    Debug.WriteLine("Is this field mandatory? " + oField.Mandatory);
    
    • Improve this Doc
    In this article
    Back to top Generated by DocFX