System.AnsiStringBase.CodePage

From RAD Studio API Documentation
Jump to: navigation, search

C++

unsigned short CodePage()    const { return Data ? GetRec().codePage : (unsigned short)System::DefaultSystemCodePage; }

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringBase

Description

Gets the code page of a AnsiStringBase.

CodePage gets the code page of a AnsiStringBase instance. If the instance is empty, it returns the system default code page, System::DefaultSystemCodePage.

See Also