Share via


TextIo.writeChar(Int32) Method

Definition

Writes a Unicode character to a file.

public:
 virtual bool writeChar(int _int);
public virtual bool writeChar (int _int);
abstract member writeChar : int -> bool
override this.writeChar : int -> bool
Public Overridable Function writeChar (_int As Integer) As Boolean

Parameters

_int
Int32

Returns

true if the write operation succeeds; otherwise, false.

Remarks

If the write operation fails, the TextIO.status method can be used to check for the cause. To write multiple values or to write data of different types to a file, use the TextIO.write method.

Applies to