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