| ISubsegmentTranslationMemoryLanguageDirectionSearchTranslationUnits Method |
Performs a translation unit search, and optionally a subsegment search on the source segment, for an array of translation units.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
SyntaxSegmentAndSubsegmentSearchResults[] SearchTranslationUnits(
SearchSettings settings,
SubsegmentSearchSettings subsegmentSettings,
SubsegmentSearchCondition condition,
TranslationUnit[] translationUnits
)
Function SearchTranslationUnits (
settings As SearchSettings,
subsegmentSettings As SubsegmentSearchSettings,
condition As SubsegmentSearchCondition,
translationUnits As TranslationUnit()
) As SegmentAndSubsegmentSearchResults()
array<SegmentAndSubsegmentSearchResults^>^ SearchTranslationUnits(
SearchSettings^ settings,
SubsegmentSearchSettings^ subsegmentSettings,
SubsegmentSearchCondition condition,
array<TranslationUnit^>^ translationUnits
)
abstract SearchTranslationUnits :
settings : SearchSettings *
subsegmentSettings : SubsegmentSearchSettings *
condition : SubsegmentSearchCondition *
translationUnits : TranslationUnit[] -> SegmentAndSubsegmentSearchResults[]
Parameters
- settings
- Type: SearchSettings
The settings that define the segment-level search parameters. - subsegmentSettings
- Type: SubsegmentSearchSettings
The settings that define the subsegment search parameters, or null if a subsegment search should not be performed. - condition
- Type: SubsegmentSearchCondition
If subsegmentSettings is not null, specifies the conditions under which a subsegment search will be performed. - translationUnits
- Type: TranslationUnit
The array containing the translation units to search for.
Return Value
Type:
SegmentAndSubsegmentSearchResultsAn array of objects, which mirrors the translation unit array. It has the exact same size and contains
the search results for each translation unit with the same index within the translation unit array.
See Also
Comments