Show / Hide Table of Contents

# Class TMInfo

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

##### Inheritance

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

Boolean

#### AllowReverseLookup

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

##### Declaration

    public bool AllowReverseLookup

##### Type

Boolean

#### CreatorUsername

The username of the creator of the TM.

##### Declaration

    public string CreatorUsername

##### Type

String

#### NumOfEntries

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

##### Declaration

    public int NumOfEntries

##### Type

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

String

#### StoreDocumentFullPath

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

##### Declaration

    public bool StoreDocumentFullPath

##### Type

Boolean

#### StoreDocumentName

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

##### Declaration

    public bool StoreDocumentName

##### Type

Boolean

#### StoreFormatting

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

##### Declaration

    public bool StoreFormatting

##### Type

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

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

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

Boolean