| IRepetitionsTableGetRepetitionId Method |
Finds the repetition id of a segment.
Namespace: Sdl.FileTypeSupport.Framework.BilingualApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
SyntaxRepetitionId GetRepetitionId(
ParagraphUnitId paragraphUnitId,
SegmentId segmentId
)
Function GetRepetitionId (
paragraphUnitId As ParagraphUnitId,
segmentId As SegmentId
) As RepetitionId
RepetitionId GetRepetitionId(
ParagraphUnitId paragraphUnitId,
SegmentId segmentId
)
abstract GetRepetitionId :
paragraphUnitId : ParagraphUnitId *
segmentId : SegmentId -> RepetitionId
Parameters
- paragraphUnitId
- Type: Sdl.FileTypeSupport.Framework.NativeApiParagraphUnitId
ParagraphUnitId for the paragraph in which the segment appears - segmentId
- Type: Sdl.FileTypeSupport.Framework.NativeApiSegmentId
Id for the segment
Return Value
Type:
RepetitionIdThe repetition id for the specified segment, or
default (RepetitionId) if
the table has no entry for this segment.
See Also
Comments