Formatter.WriteBoolean(Boolean, String) Method (System.Runtime.Serialization) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

When overridden in a derived class, writes a Boolean value to the stream already attached to the formatter.

protected:
 abstract void WriteBoolean(bool val, System::String ^ name);
protected abstract void WriteBoolean(bool val, string name);
abstract member WriteBoolean : bool * string -> unit
Protected MustOverride Sub WriteBoolean (val As Boolean, name As String)

Parameters

name

String

The name of the member.

Notes to Implementers

You must implement this method in a derived class.

Applies to