Επεξεργασία

Κοινή χρήση μέσω


Formatter.WriteSingle(Single, String) Method

Definition

When overridden in a derived class, writes a single-precision floating-point number to the stream already attached to the formatter.

protected:
 abstract void WriteSingle(float val, System::String ^ name);
protected abstract void WriteSingle (float val, string name);
abstract member WriteSingle : single * string -> unit
Protected MustOverride Sub WriteSingle (val As Single, name As String)

Parameters

val
Single

The value to write.

name
String

The name of the member.

Notes to Implementers

You must implement this method in a derived class.

Applies to