| IDocumentItemFactoryCreateSegmentPair Method |
Creates a segment pair object that can be used as a convenience when working with source and target segments in a
IParagraphUnit.
Namespace: Sdl.FileTypeSupport.Framework.BilingualApiAssembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
SyntaxISegmentPair CreateSegmentPair(
ISegment source,
ISegment target
)
Function CreateSegmentPair (
source As ISegment,
target As ISegment
) As ISegmentPair
ISegmentPair^ CreateSegmentPair(
ISegment^ source,
ISegment^ target
)
abstract CreateSegmentPair :
source : ISegment *
target : ISegment -> ISegmentPair
Parameters
- source
- Type: Sdl.FileTypeSupport.Framework.BilingualApiISegment
The source segment of a paragraph unit. Must not be null. - target
- Type: Sdl.FileTypeSupport.Framework.BilingualApiISegment
The target segment corresponding to the source segment. May be null if no target segment exists in the ParagraphUnit yet.
Return Value
Type:
ISegmentPair[Missing <returns> documentation for "M:Sdl.FileTypeSupport.Framework.BilingualApi.IDocumentItemFactory.CreateSegmentPair(Sdl.FileTypeSupport.Framework.BilingualApi.ISegment,Sdl.FileTypeSupport.Framework.BilingualApi.ISegment)"]
RemarksThe source and target segment passed in must be in the same paragraph unit.
See Also
Comments