System.Classes.TStrings.WriteBOM

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WriteBOM: Boolean read GetWriteBOM write SetWriteBOM;

C++

__property bool WriteBOM = {read=GetWriteBOM, write=SetWriteBOM, nodefault};

Properties

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

Description

Will cause SaveToStream and 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