EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

TextWriter.Write Method (Boolean)

May 11, 2014

Writes the text representation of a Boolean value to the text stream.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public virtual void Write(
	bool value
)

Parameters

value
Type: System.Boolean
The Boolean to write.

ExceptionCondition
ObjectDisposedException

The TextWriter is closed.

IOException

An I/O error occurs.

The text representation of the specified value is produced by calling ToString.

This method outputs either Boolean.TrueString or Boolean.FalseString.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Afficher:
© 2014 Microsoft