Formatter::WriteTimeSpan Method (TimeSpan, String^)

 

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

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

protected:
virtual void WriteTimeSpan(
	TimeSpan val,
	String^ name
) abstract

Parameters

val
Type: System::TimeSpan

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: