System.Classes.TWriter.WriteWideChar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteWideChar(Value: WideChar); deprecated 'Use WriteChar';

C++

void __fastcall WriteWideChar _DEPRECATED_ATTRIBUTE1("Use WriteChar") (System::WideChar Value);

Properties

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

Description

Warning: WriteWideChar is deprecated. Please use WriteChar.

Writes the wide character passed in Value to the writer object's stream.

WriteWideChar is used internally by the component streaming system to write component properties to a stream. Use WriteWideChar for writing component wide character properties to streams.

WriteWideChar calls WriteString which checks to ensure that Value is the correct type before calling Write to write the wide character and its value type to the stream.

See Also