System.Classes.TStrings.WriteBOM

From XE2 API Documentation
Jump to: navigation, search

Delphi

property WriteBOM: Boolean read FWriteBOM write FWriteBOM;

C++

__property bool WriteBOM = {read=FWriteBOM, write=FWriteBOM, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

Will cause SaveToStream or SaveToFile to write a BOM.

Set WriteBOM to True to cause SaveToStream to write a BOM (byte-order mark) to the stream and to cause SaveToFile to write a BOM to the file.

See Also