| ISubsegmentTranslationMemoryLanguageDirectionSearchSegments Method |
Performs a segment-level search, and optionally a subsegment search, for an array of segments.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
SyntaxSegmentAndSubsegmentSearchResults[] SearchSegments(
SearchSettings settings,
SubsegmentSearchSettings subsegmentSettings,
SubsegmentSearchCondition condition,
Segment[] segments
)
Function SearchSegments (
settings As SearchSettings,
subsegmentSettings As SubsegmentSearchSettings,
condition As SubsegmentSearchCondition,
segments As Segment()
) As SegmentAndSubsegmentSearchResults()
array<SegmentAndSubsegmentSearchResults^>^ SearchSegments(
SearchSettings^ settings,
SubsegmentSearchSettings^ subsegmentSettings,
SubsegmentSearchCondition condition,
array<Segment^>^ segments
)
abstract SearchSegments :
settings : SearchSettings *
subsegmentSettings : SubsegmentSearchSettings *
condition : SubsegmentSearchCondition *
segments : Segment[] -> 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. - segments
- Type: Segment
The array containing the segments to search for.
Return Value
Type:
SegmentAndSubsegmentSearchResultsAn array of
SearchResults objects, which mirrors the segments array. It has the exact same size and contains the
search results for each segment with the same index within the segments array.
See Also
Comments