Show: Delphi C++
Display Preferences

System.Classes.TWriter.WriteIdent

From XE2 API Documentation
Jump to: navigation, search

Delphi

procedure WriteIdent(const Ident: string);

C++

void __fastcall WriteIdent(const System::UnicodeString Ident);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TWriter

Description

Writes the identifier passed in Ident to the writer object's stream.

WriteIdent is used internally by the component streaming system to write component properties to a stream. Use WriteIdent for writing component identifier properties to streams. Component names and enumerated type elements are examples of strings that must be restricted to identifier syntax.

WriteIdent checks for certain common identifiers (such as true, false, nil (Delphi), or NULL (C++)) and inserts a special token for these values. Otherwise, it writes the identifier as a string.

See Also

Personal tools
Previous Versions
Translations