| 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.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic bool RemoveUnmatchedStartAndEndTags(
bool peripheralPositionsOnly
)
Public Function RemoveUnmatchedStartAndEndTags (
peripheralPositionsOnly As Boolean
) As Boolean
public:
bool RemoveUnmatchedStartAndEndTags(
bool peripheralPositionsOnly
)
member RemoveUnmatchedStartAndEndTags :
peripheralPositionsOnly : bool -> bool
Parameters
- peripheralPositionsOnly
- Type: SystemBoolean
[Missing <param name="peripheralPositionsOnly"/> documentation for "M:Sdl.LanguagePlatform.Core.Segment.RemoveUnmatchedStartAndEndTags(System.Boolean)"]
Return Value
Type:
Booleantrue if the segment was modified, and
false otherwise.
See Also
Comments