Sdl.MultiTerm.TMO.Interop.InputModelDefinitions class
Name
Sdl.MultiTerm.TMO.Interop.InputModelDefinitions — Provides programmatic access to the input model definitions of a termbase.
Description
Via this class you can access the input model definitions associated with a particular termbase. You can use it to, for example, generate a list of available input models.
Properties
- Count: Returns the number of available input model definitions.
- Item: Provides access to a particular input model definition.
Methods
- Add: Adds a new input model definition to the collection.
- Refresh: Updates the input model definition collection.
- StartWizard: Starts the Input Model Definition wizard.
Sample
Termbase oTb = oTbs["Termbase name"];
ExportDefinitions oModels = oTb.InputModelDefinitions;
Debug.Write("Number of input models: +" + oModels.Count);
for(int i=0;i<oModels.Count;i++)
{
Debug.Write(oModels[i].Name);
}