Click or drag to resize
SegmentRemoveUnmatchedStartAndEndTags Method (Boolean)
Deletes all tags from the segment which have a tag type of UnmatchedStart or UnmatchedEnd, if these tags occur in peripheral positions, which means that dangling end tags are only removed if they appear at the start of the segment, and dangling start tags are only removed if they appear at the end of the segment, with no other tags or text preceding the tag (in case of segment-initial dangling end tags), or following the tag (for segment-trailing dangling start tags).

Note that this method only tests the tag type, and does not handle paired tags where the start or end tag are missing.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public bool RemoveUnmatchedStartAndEndTags(
	bool peripheralPositionsOnly
)

Parameters

peripheralPositionsOnly
Type: SystemBoolean

[Missing <param name="peripheralPositionsOnly"/> documentation for "M:Sdl.LanguagePlatform.Core.Segment.RemoveUnmatchedStartAndEndTags(System.Boolean)"]

Return Value

Type: Boolean
true if the segment was modified, and false otherwise.
See Also
Community
Edit

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