Επεξεργασία

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


Formatter.WriteTimeSpan(TimeSpan, String) Method

Definition

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

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

Parameters

val
TimeSpan

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

See also