Formatter.WriteSingle Method (Single, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

protected abstract void WriteSingle(
	float val,
	string name
)

Parameters

val
Type: System.Single

The value to write.

name
Type: System.String

The name of the member.

Notes to Inheritors:

You must implement this method in a derived class.

.NET Framework
Available since 1.1
Return to top
Show: