RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.WriteIdent Method

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

Pascal
procedure WriteIdent(const Ident: string);
C++
__fastcall WriteIdent(const AnsiString Ident);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!