Sdl.MultiTerm.TMO.Interop.Entry class
Name
Sdl.MultiTerm.TMO.Interop.Entry — Provides programmatic access to a particular entry.
Description
This class allows you to access a particular entry, e.g. for outputting the entire entry content, for applying an entry layout, etc. Entries are programmatically selected via the unique entry id.
Properties
- Content: Provides access to the content of an entry.
- ID: Returns the id of an entry.
- IsComplete: Returns whether an entry is complete or not.
- IsRtf: Returns whether an entry is RTF.
- LockedBy: Returns the name of the user who locked the entry.
Methods
- ApplyExport: Exports a particular entry.
- ApplyFilter: Applies a filter definition to a specified entry and returns True or False, depending on whether the entry matches the filter.
- ApplyLayout: Applies a layout definition to a MultiTerm entry XML stream.
- Delete: Removes an entry from the termbase.
- LockEntry: Locks an entry for editing.
- Merge: Merges the content of two entries into one.
- MergeEx: deprecated
- Save: Saves an entry to the termbase.
Sample
//select termbase
Termbase oTb = oTbs["Termbase name"];
Entries oEntries = oTb.Entries;
//select entry with id #1 and output entry content
Entry oEntry = oEntries.Item(1);
Debug.Write(oEntry.Content.Content);