linebreakMatchingBehavior
New
Gets or sets the behavior of line break matching in subsequent text stream operations.
ReadWrite
Yes
Syntax
Accesor | Syntax |
---|---|
Get | expression.linebreakMatchingBehavior |
Let | expression.linebreakMatchingBehavior = value |
Accesor | Parameters |
---|---|
Get | None |
Let | Name: Value Type: EndLineMatchingBehavior Modifiers: ByVal |
Accesor | Returns Type |
---|---|
Get | EndLineMatchingBehavior |
Let | None |
Behavior
The linebreakMatchingBehavior
property allows the user to specify how line breaks are searched for to end the current buffer in vbCrLf, vbCr or vbLf as specified in the endStreamOnLineBreak
property. By default, the linebreakMatchingBehavior
property is set to EndLineMatchingBehavior.Bidirectional
, this option ensures the handling of files with long lines that cannot be contained in a string of specified size as in the bufferSize
property.
⚠️Caution
Setting the
linebreakMatchingBehavior
property toEndLineMatchingBehavior.OnlyBackwardSense
may cause unexpected behavior when the stream is requested to end at a line break and the current text stream contains a portion of a long line that cannot be stored in the specified buffer size.