Sdl.MultiTerm.TMO.Interop.Index class
Name
Sdl.MultiTerm.TMO.Interop.Index — Provides programmatic access to a particular index of a termbase definition.
Description
This class allows you to retrieve, for example, the corresponding index label, the locale, etc.
Properties
- Fields: Provides programmatic access to the entry-level descriptive fields.
- Label: Returns the label of a particular index.
- Language: Returns the name of the index language.
- Locale: Returns the locale of the index.
- TargetOnly: Flags whether the current index can be used only as target index.
- TermFields: Provides programmatic access to the term-level descriptive fields.
Methods
None
Sample
Termbase oTb = oTbs["Termbase name"];
TermbaseDefinition oDef = oTb.Definition;
Indexes oIndexes = oDef.Indexes;
//select first index
Index oIndex = oIndexes[0];
Debug.WriteLine(oIndex.Label);