| SearchSettingsAddPenalty Method |
Adds the specified penalty to the list of penalties, unless already present (in which
case nothing happens).
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic void AddPenalty(
PenaltyType pt,
int malus
)
Public Sub AddPenalty (
pt As PenaltyType,
malus As Integer
)
public:
void AddPenalty(
PenaltyType pt,
int malus
)
member AddPenalty :
pt : PenaltyType *
malus : int -> unit
Parameters
- pt
- Type: Sdl.LanguagePlatform.TranslationMemoryPenaltyType
The penalty type - malus
- Type: SystemInt32
The malus (> 0)
See Also
Comments