Click or drag to resize
FileBasedTranslationMemoryLanguageDirectionSearchTranslationUnitsMasked Method (SearchSettings, TranslationUnit, Boolean)
Similar to SearchTranslationUnits(SearchSettings, TranslationUnit), but allows passing a mask which specifies which TUs are actually searched. This is useful in document search contexts where some TUs are passed which should be used to establish a (text) context, but which should not be processed.

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public virtual SearchResults[] SearchTranslationUnitsMasked(
	SearchSettings settings,
	TranslationUnit[] translationUnits,
	bool[] mask
)

Parameters

settings
Type: SearchSettings
The settings that define the search parameters.
translationUnits
Type: TranslationUnit
The array containing the translation units to search for.
mask
Type: SystemBoolean
A bool array which specifies which TUs are actually searched (mask[i] = true). If null, the method behaves identically to SearchTranslationUnits(SearchSettings, TranslationUnit).

Return Value

Type: SearchResults
An array of SearchResults 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.

Implements

ITranslationProviderLanguageDirectionSearchTranslationUnitsMasked(SearchSettings, TranslationUnit, Boolean)
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments