Sdl.MultiTerm.TMO.Interop.InputModelDefinition class
Name
Sdl.MultiTerm.TMO.Interop.InputModelDefinition — Provides access to a particular input model definition.
Description
Input models are customizable input masks that facilitate the process of adding or editing entries via, e.g. MultiTerm Workstation or MultiTerm Online. Using this class you can retrieve information on a particular input model, e.g. the input model description string. In addition you can use this class to load an input model, save it to an external file, etc.
Properties
- Content: Returns the content of a particular input model definition.
- Description: Returns the input model definition description.
- Name: Returns the name of the input model definition.
- Owner: Returns the owner name for a particular input model definition.
- ReadOnly: Returns whether a particular input model definition is read-only.
Methods
- _GetSchema: Returns the full schema for a particular input model.
- Delete: Removes the input model definition from the collection.
- GetDummyEntry: [For internal use only.]
- Load: Updates the selected input model from an external input model definition file.
- Save: Saves the input model definition to an external file.
- StartWizard: Calls up the input model wizard for editing a particular input model.
Sample
//select termbase
Termbase oTb = oTbs["Termbase name"];
//select input model
InputModelDefinitions oInputModels = oTb.InputModelDefinitions;
InputModelDefinition oInputModel = oInputModels["Default input model"];
Debug.WriteLine(oInputModel.Description);