System.SysUtils.TEncoding.GetCodePage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetCodePage: Cardinal; virtual;

C++

virtual unsigned __fastcall GetCodePage();

Properties

Type Visibility Source Unit Parent
function class protected
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TEncoding

Description

Returns the code page.

GetCodePage returns an integral value representing the code page. GetCodePage is a virtual method; if the runtime type of Self (this in C++) is TEncoding, then an invalid code page is returned.

See Also