System.Classes.TStrings.SetEncoding

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure SetEncoding(const Value: TEncoding); virtual;

C++

virtual void __fastcall SetEncoding(System::Sysutils::TEncoding* const Value);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TStrings


Description

Protected setter of the Encoding property.

If Value is one of standard encoding values, SetEncoding sets the Encoding property to Value. Otherwise, SetEncoding sets the Encoding property to default.

Internally, Assign and LoadFromStream call SetEncoding.

See Also