Search Results for

Show / Hide Table of Contents

# Class TMInfo

Encapsulates the description of a TM. This class is derived from ResourceInfo.

##### Inheritance

System.Object
ResourceInfo
HeavyResourceInfo
TMInfo

##### Syntax

    public class TMInfo : HeavyResourceInfo

### Fields

#### AllowMultiple

Indicates if the TM can store more than one translation for a specific translation unit.

##### Declaration

    public bool AllowMultiple

##### Type

System.Boolean

#### AllowReverseLookup

Indicates if the TM allows reverse lookup (lookup in target language to provide hit for source language).

##### Declaration

    public bool AllowReverseLookup

##### Type

System.Boolean

#### CreatorUsername

The username of the creator of the TM.

##### Declaration

    public string CreatorUsername

##### Type

System.String

#### NumOfEntries

The approximate number of entries in the TM. To get the accurate value, call GetTMInfo.

##### Declaration

    public int NumOfEntries

##### Type

System.Int32

#### OptimizationPreference

Specify whether to optimize TM for better recall or faster lookup.

##### Declaration

    public TMOptimizationPreference OptimizationPreference

##### Type

TMOptimizationPreference

#### SourceLanguageCode

The three+(two) letter code of the source language of the TM (such as fre, eng, eng-US).

##### Declaration

    public string SourceLanguageCode

##### Type

System.String

#### StoreDocumentFullPath

Store source document full path when confirming segments from within memoQ documents.

##### Declaration

    public bool StoreDocumentFullPath

##### Type

System.Boolean

#### StoreDocumentName

Store source document name when confirming segments from within memoQ documents.

##### Declaration

    public bool StoreDocumentName

##### Type

System.Boolean

#### StoreFormatting

Indicates if the TM can store formating information related to the segments.

##### Declaration

    public bool StoreFormatting

##### Type

System.Boolean

#### TargetLanguageCode

The three+(two) letter code of the target language of the TM. (such as fre, eng, eng-US).

##### Declaration

    public string TargetLanguageCode

##### Type

System.String

#### TMEngineType

Type of TM engine associated with the given TM. If NGTM is not enabled then only the old engine can be used.

##### Declaration

    public TMEngineType TMEngineType

##### Type

TMEngineType

#### UseContext

Indicates if the TM supports context information attached to the segments. If true then the previous segment and the following segment is attached to the source segment in the TM as context information. This context can be provided during lookup, and in case of matching context 101% hits are provided by the TM.

##### Declaration

    public bool UseContext

##### Type

System.Boolean

#### UseIceSpiceContext

Indicates whether the TM supports IceSpice context or not. If IceSpice context is supported the API retrieves 102% hits if the ID-based context and the text flow context are both identical.

##### Declaration

    public bool UseIceSpiceContext

##### Type

System.Boolean