Sdl.MultiTerm.TMO.Interop.Termbases class
Name
Sdl.MultiTerm.TMO.Interop.Termbases — Provides programmatic access to a termbase collection.
Description
This class allows you to retrieve all termbases of your local termbase repository or the termbases from the server repository that you are allowed to gain access to with your login. You can use this class to, for example, generate a list of all termbases available in a particular repository.
Properties
- Count: Returns the number of available termbases.
- Item: Provides programmatic access to a specific termbase.
Methods
- Add: Allows you to add existing file based termbases to the local repository programmatically.
- New: Creates a new termbase programmatically.
- Refresh: Refreshes a termbase collection.
- Remove: Removes a termbase from a local termbase collection.
Sample
Termbases oTbs = oServRep.Termbases;
for(int i=0;i<oTbs.Count;i++)
{
Debug.WriteLine("Termbase name: " + oTbs[i].Name);
}