API:System.SysUtils.TUnicodeEncoding.GetCodePage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetCodePage: Cardinal; override;

C++

virtual unsigned __fastcall GetCodePage();

Properties

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

Description

Returns the code page.

System.SysUtils.TUnicodeEncoding.GetCodePage inherits from System.SysUtils.TEncoding.GetCodePage. All content below this line refers to System.SysUtils.TEncoding.GetCodePage.

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