NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Formatter.WriteTimeSpan

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

[Visual Basic]
MustOverride Protected Sub WriteTimeSpan( _
   ByVal val As TimeSpan, _
   ByVal name As String _
)
[C#]
protected abstract void WriteTimeSpan(
   TimeSpan val,
   string name
);
[C++]
protected: virtual void WriteTimeSpan(
   TimeSpan val,
   String* name
) = 0;
[JScript]
protected abstract function WriteTimeSpan(
   val : TimeSpan,
   name : String
);

Parameters

val
The value to be written.
name
The name of the member.

See Also

Formatter Class | Formatter Members | System.Runtime.Serialization Namespace | TimeSpan