| ScoringResultFindPenalty Method |
Retrieves the applied penalty for a specified penalty type.
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic AppliedPenalty FindPenalty(
PenaltyType pt
)
Public Function FindPenalty (
pt As PenaltyType
) As AppliedPenalty
public:
AppliedPenalty^ FindPenalty(
PenaltyType pt
)
member FindPenalty :
pt : PenaltyType -> AppliedPenalty
Parameters
- pt
- Type: Sdl.LanguagePlatform.TranslationMemoryPenaltyType
The penalty type.
Return Value
Type:
AppliedPenaltyThe applied penalty for the specified type or null if no penalty of that type can be found.
See Also
Comments