Search Results for

    Show / Hide Table of Contents

    Count property

    Name

    Sdl.MultiTerm.TMO.Interop.PicklistValues.Count — Returns the number of picklist values associated with a particular picklist field.

    Type

    Long (read)

    Index Parameters

    none

    Description

    This property is used to ascertain the number of picklist values associated with a particular picklist field.

    Sample

    //select termbase
    Termbase oTb = oTbs["Termbase name"];
    
    //access termbase definition
    TermbaseDefinition oDef = oTb.Definition;
    //select first descriptive field
    DescriptiveField oField = oDef.Fields[0];
    //generate list of picklist values
    PicklistValues oValues = oField.PicklistValues;
    Debug.WriteLine("Picklist field count: " + oValues.Count.ToString());
    
    • Improve this Doc
    In this article
    Back to top Generated by DocFX